cadrumo.application.workflow.adapters module

Adapter wiring the deadline engine to the workflow protocol.

See also

WorkflowEngine

Consumes the adapted deadline collaborator.

application.modelo.workflow_gate

Builds revision-scoped workflow engines with the same adapter boundaries for verification and local mark-as-filed paths.

class DeadlineEngineAdapter(engine)[source]

Bases: object

Wrap DeadlineEngine as a workflow Protocol.

Parameters:

engine (DeadlineEngine)

compute(profile, year, *, today=None)[source]

Delegate to DeadlineEngine.compute() for the given TaxpayerProfile.

Returns a Schedule.

Return type:

Schedule

Parameters: