cadrumo.application.workflow.adapters module¶
Adapter wiring the deadline engine to the workflow protocol.
See also
WorkflowEngineConsumes the adapted deadline collaborator.
application.modelo.workflow_gateBuilds revision-scoped workflow engines with the same adapter boundaries for verification and local mark-as-filed paths.
- class DeadlineEngineAdapter(engine)[source]¶
Bases:
objectWrap
DeadlineEngineas a workflow Protocol.- Parameters:
engine (DeadlineEngine)
- compute(profile, year, *, today=None)[source]¶
Delegate to
DeadlineEngine.compute()for the givenTaxpayerProfile.Returns a
Schedule.- Return type:
- Parameters:
profile (TaxpayerProfile)
year (int)
today (date | None)