pynenc.models.invocation_dto¶
Module Contents¶
Classes¶
Data transfer object for a distributed invocation. |
API¶
- class pynenc.models.invocation_dto.InvocationDTO[source]¶
Data transfer object for a distributed invocation.
Carries only invocation-level identity fields. References the call by
call_id/task_idrather than embedding aCallDTO. Parent invocations are referenced by ID only (flat, no recursion).The state backend pairs this with a
CallDTOwhen persisting; the two DTOs are independent so backends can store them in separate tables or collections if desired.- Parameters:
invocation_id (str) – Unique invocation identifier
call_id (CallId) – Call identifier (links to CallDTO)
workflow (WorkflowIdentity) – Workflow identity
parent_reference (InvocationReference | None) – Optional reference to parent invocation
- invocation_id: pynenc.identifiers.invocation_id.InvocationId¶
None
- call_id: pynenc.identifiers.call_id.CallId¶
None
- workflow: pynenc.workflow.workflow_identity.WorkflowIdentity¶
None