cadrumo.domain.calculations.registry.identifier_evolutions module¶
Authored retirement and replacement of identifier-keyed declarations across editions.
A family whose members carry a stable, edition-free identifier inherits across editions:
an unmentioned member is inherited, a restated member supersedes in place, and a
withdrawal must be declared. This module is the declaration shape for that withdrawal,
shared by every identifier-keyed family. A retired evolution ends the chain at the
withdrawing edition; a replaced evolution ends it and names the successor identifier.
Omission is never a withdrawal.
- class RetiredIdentifierEvolution(**data)[source]¶
Bases:
RegistryModelThe declaration named by
identifieris withdrawn fromto_revisiononward.- Parameters:
data (Any)
- kind: Literal['retired']¶
- family: FamilyName¶
- identifier: DeclarationIdentifier¶
- to_revision: RevisionId¶
- legal_refs: LegalRefs¶
- source_refs: SourceRefs¶
- class ReplacedIdentifierEvolution(**data)[source]¶
Bases:
RegistryModelThe declaration named by
identifieris superseded byreplaced_byfromto_revision.- Parameters:
data (Any)
- kind: Literal['replaced']¶
- family: FamilyName¶
- identifier: DeclarationIdentifier¶
- replaced_by: DeclarationIdentifier¶
- to_revision: RevisionId¶
- legal_refs: LegalRefs¶
- source_refs: SourceRefs¶