The status of a node in the workflow graph.
| 20 | |
| 21 | |
| 22 | class NodeStatus(Enum): |
| 23 | """The status of a node in the workflow graph.""" |
| 24 | |
| 25 | INACTIVE = 0 |
| 26 | """The node is not ready to be executed.""" |
| 27 | |
| 28 | PENDING = 1 |
| 29 | """The node is ready to be executed.""" |
| 30 | |
| 31 | RUNNING = 2 |
| 32 | """The node is being executed.""" |
| 33 | |
| 34 | COMPLETED = 3 |
| 35 | """The node has been executed successfully.""" |
| 36 | |
| 37 | WAITING = 4 |
| 38 | """The node is waiting (e.g. for a user response or re-trigger).""" |
| 39 | |
| 40 | FAILED = 5 |
| 41 | """The node has failed.""" |
| 42 | |
| 43 | CANCELLED = 6 |
| 44 | """The node has been cancelled.""" |
no outgoing calls
no test coverage detected