aeat.application.workflow._engine_helpers module¶
Private helpers for workflow-engine formatting and deadline metadata.
- class DeadlineRole(*values)[source]¶
Bases:
StrEnumRole of a deadline within workflow step metadata.
- INFORMATIONAL¶
- BINDING¶
- class FilingWindowState(*values)[source]¶
Bases:
StrEnumState of the filing window for a given (modelo, period) at workflow time.
- ABSENT¶
- FUTURE¶
- OPEN¶
- CLOSED¶
- classify_cert_expiry(*, not_after, today, warn_days, critical_days)[source]¶
Classify a certificate’s expiry window against operator thresholds.
- draft_blocking_finding_descriptions(draft)[source]¶
Summarise the ERROR/WARNING findings that keep a built draft out of the ready state.
The
BUILDING_DRAFTgate aborts withDRAFT_HAS_ERRORSwhenever the builder hands back a draft still belowLISTO_PARA_PRESENTAR. Without the underlying findings the abort is opaque (operators see onlystatus=BORRADOR), so this projects each blocking finding to a compactseverity:code (casilla)description the abort step can surface.