cadrumo.application.modelo.history_ports module¶
Application-owned capabilities required by Modelo history projections.
History reads several profile catalogues that share one bucket-scoped secure store. The application service owns the projection and its DTOs, while this bundle owns only the repository capabilities it needs. An outer composition root supplies the concrete implementations for one bucket; history never constructs a persistence adapter or exposes storage DTOs and errors.
- class ModeloHistoryPorts(work_unit_repository, calculation_repository, filing_repository, verification_repository, bucket_event_repository)[source]¶
Bases:
objectRequired persisted authorities for one Modelo history invocation.
- Parameters:
work_unit_repository (WorkUnitCatalogueRepositoryProtocol)
calculation_repository (CalculationRevisionCatalogueRepositoryProtocol)
filing_repository (ModeloRecordCatalogueRepositoryProtocol)
verification_repository (VerificationReportCatalogueRepositoryProtocol)
bucket_event_repository (BucketEventHistoryRepositoryProtocol)
-
work_unit_repository:
WorkUnitCatalogueRepositoryProtocol¶
-
calculation_repository:
CalculationRevisionCatalogueRepositoryProtocol¶
-
filing_repository:
ModeloRecordCatalogueRepositoryProtocol¶
-
verification_repository:
VerificationReportCatalogueRepositoryProtocol¶
-
bucket_event_repository:
BucketEventHistoryRepositoryProtocol¶