distributor.distributor_workflow_run
Attributes
Classes
Implements workflow level bulk routes and tracks the in memory state on the distributor. |
Module Contents
- class distributor.distributor_workflow_run.DistributorWorkflowRun(workflow_run_id: int, requester: jobmon.core.requester.Requester)[source]
Implements workflow level bulk routes and tracks the in memory state on the distributor.
when polling from the database we should work in task space and translate into array space in memory where appropriate.
when pushing to the database we should work in CommandType (Workflow/Array/Task) space
- _update_status(status: str) None[source]
Update the status of the workflow_run with whatever status is passed.
- __lt__(other: DistributorWorkflowRun) bool[source]
Check if one hash is less than the hash of another.