cadrumo.application.modelo.verify_selector module¶
Public defining module for the modelo work verify revision selector.
The verify command advertises a narrowed selector set rather than the full
ModeloCalculationRevisionSelector, and the CLI command spec resolves
this enum by name at parameter-build time, so the contract is required outside
its owning package and lives in a public module of its own.
- class ModeloVerifySelector(*values)[source]¶
Bases:
StrEnumDraft-reachable selector subset accepted by
modelo work verify.verify_modelo_revisionrefuses any revision not in stateBORRADOR, so the only selectors that can resolve to a verifiable revision are the ones that reach a draft:current(when the current revision is still a draft),latest-draft, andexplicit(an explicitly-named draft revision id). The post-draft selectorslatest-verifiedandfiledon the fullModeloCalculationRevisionSelectorname states verify rejects, so advertising them on the verify command would be an advertised-but-impossible combination. This narrowed enum is what the verify--selectoption advertises; other commands keep the full selector enum.- CURRENT¶
- LATEST_DRAFT¶
- EXPLICIT¶
- to_calculation_revision_selector()[source]¶
Map a verify selector to its
ModeloCalculationRevisionSelectormember.- Return type: