- class JobStatus(value)[source]#
Possible states of a job once it has been accepted by the job manager.
Job is newly created, no task has started to run.
Some tasks are scheduled or running, some may be pending, some may be finished.
The job has failed and is currently waiting for the cleanup to complete.
The job has failed with a non-recoverable task failure.
Job is being cancelled.
Job has been cancelled.
All of the job’s tasks have successfully finished.
The job is currently undergoing a reset and total restart.
The job has been suspended which means that it has been stopped but not been removed from a potential HA job store.
The job is currently reconciling and waits for task execution report to recover state.
New in version 1.11.0.
Checks whether this state is <i>globally terminal</i>.
Checks whether this state is locally terminal.