Repository API

Contracts

SQLAlchemy adapter

loom.core.repository.sqlalchemy

loom.core.repository.sqlalchemy.rls

Row-level security support for the SQLAlchemy backend.

loom.core.repository.sqlalchemy.rls.guard_manifest

The guard revisions this release of loom ships, each pinned by its SHA-256 and its catalogue.

loom.core.repository.sqlalchemy.rls.integrity

Checks that the guard in the database is one this release of loom shipped, unaltered.

loom.core.repository.sqlalchemy.migrations

Alembic support for row-scoped schemas: the hook, the environment and the runners.

loom.core.repository.sqlalchemy.migrations.operations

Alembic operations for the guard, so generated revisions carry calls and never SQL.

Cache layer