cadrumo.application.modelo.work_unit_repository module¶
Explicit lifetime binding for Modelo work-unit catalogue persistence.
The domain owns the repository protocol and persistence owns its concrete implementation. Application operations that need to capture a catalogue bind only the factory shape declared here; executable hosts compose the concrete adapter for their own lifetime.
- class WorkUnitCatalogueRepositoryFactory(*args, **kwargs)[source]¶
Bases:
ProtocolConstruct the repository port for one resolved profile bucket.
- bind_work_unit_catalogue_repository_factory(factory)[source]¶
Bind one outward-composed repository factory for the host context.
- Return type:
- Parameters:
factory (WorkUnitCatalogueRepositoryFactory)