cadrumo.application.filing.history_models module¶
Strict filing-history records for encrypted filing-state persistence.
ModeloHistory groups ModeloHistoryEntry rows by
ModeloIdentifier before ModeloHistoryRepository stores the
aggregate in encrypted AUDIT-class persistence.
The payload is intentionally narrower than the modelo filing-record catalogue:
it records local filing history rows by modelo and period, while
ModeloRecord carries the richer current /
superseded filing lifecycle for calculation revisions.
See also
application.filing.history_repository.ModeloHistoryRepositoryEncrypted AUDIT-class repository that stores these payloads.
domain.modelosWork-unit filing records and supersession history for calculation revisions.
ModeloRecordCatalogueCurrent/superseded filing-record catalogue that owns the authoritative work-unit filing lifecycle.
application.calculationsPast-filing casilla observations used by cross-period calculation resolvers.
- class ModeloHistoryEntry(**data)[source]¶
Bases:
BaseModelOne local filing-history row for a
ModeloIdentifierandPeriod.- Parameters:
data (Any)
- modelo: ModeloIdentifier¶
- period: Period¶
- submitted_at: datetime¶
- status: str¶
- class ModeloHistory(**data)[source]¶
Bases:
BaseModelPer-modelo tuple of
ModeloHistoryEntryrows for oneModeloIdentifier.- Parameters:
data (Any)
- modelo: ModeloIdentifier¶
- entries: tuple[ModeloHistoryEntry, ...]¶