cadrumo.application.modelo.amendment_action_ports module

Application-owned capabilities required by Modelo amendment actions.

The amendment authority reads and co-commits several profile catalogues. It depends on these domain-facing protocols rather than on encrypted-storage implementations; executable composition roots bind the concrete repositories for the active profile bucket and pass the complete bundle through the call chain.

class AmendmentActionPorts(work_unit_repository, calculation_repository, filing_repository, justificante_repository, bucket_event_repository, transaction_repository, observation_repository, iva_compensation_history_repository)[source]

Bases: object

Required persisted authorities for one amendment invocation.

Parameters:
work_unit_repository: WorkUnitCatalogueRepositoryProtocol
calculation_repository: CalculationRevisionCatalogueRepositoryProtocol
filing_repository: ModeloRecordCatalogueRepositoryProtocol
justificante_repository: JustificanteRepositoryProtocol
bucket_event_repository: BucketEventHistoryRepositoryProtocol
transaction_repository: TransactionCatalogueRepositoryProtocol
observation_repository: CalculationObservationRepositoryProtocol
iva_compensation_history_repository: IvaCompensationHistoryRepositoryProtocol
class AmendmentActionPortsFactory(*args, **kwargs)[source]

Bases: Protocol

Construct the amendment authorities for one profile bucket.