cadrumo.application.modelo.filing_repository module

Explicit lifetime binding for Modelo filing-record persistence.

class ModeloRecordCatalogueRepositoryFactory(*args, **kwargs)[source]

Bases: Protocol

Construct the filing-record repository port for one profile bucket.

bind_modelo_record_catalogue_repository_factory(factory)[source]

Bind one outward-composed filing-record repository factory.

Return type:

Generator[ModeloRecordCatalogueRepositoryFactory]

Parameters:

factory (ModeloRecordCatalogueRepositoryFactory)

modelo_record_catalogue_repository(*, bucket_id)[source]

Resolve the explicitly composed filing repository for bucket_id.

Return type:

ModeloRecordCatalogueRepositoryProtocol

Parameters:

bucket_id (str)