Attention
This project is still in an early phase of development.
The python API is not yet stable, and some aspects of the schema for the blueprint and workplan will likely evolve. Therefore whilst you are welcome to try out using the package, we cannot yet guarantee backwards compatibility. We expect to reach a more stable version in 2026.
Status#
- class cstar.orchestration.orchestration.Status(*values)#
Bases:
IntEnumThe state of a running task.
Methods
Return the set of terminal statuses.
Status.is_terminal(status)Return True if a status is in the set of terminal statuses.
Return the set of failure statuses.
Status.is_failure(status)Return True if a status is in the set of terminal statuses.
Return the set of ready statuses.
Status.is_ready(status)Return True if a status is in the set of ready statuses.
Return the set of running statuses.
Status.is_running(status)Return True if a status is in the set of running statuses.
Return the set of in-progress statuses.
Status.is_in_progress(status)Return True if a status is in the set of in-progress statuses (any non-terminal status).
Attributes
Status.UnsubmittedA task that has not been submitted by a launcher.
Status.SubmittedA task that has been submitted by a launcher and awaits a status update.
Status.RunningA task that was submitted and has not terminated.
Status.EndingA task that has reported itself as nearing completion.
Status.DoneA task that has terminated without error.
Status.CancelledA task terminated due to cancellation (by the user or system).
Status.FailedA task that terminated due to some failure in the task.