TaskResultStatus
This class defines a set of text-based choices representing the lifecycle states of a task result. It provides standardized constants for tracking whether a task is ready, running, failed, or successful.
Attributes
| Attribute | Type | Description |
|---|---|---|
| READY | string = READY | The Task has just been enqueued, or is ready to be executed again. |
| RUNNING | string = RUNNING | The Task is currently running. |
| FAILED | string = FAILED | The Task raised an exception during execution, or was unable to start. |
| SUCCESSFUL | string = SUCCESSFUL | The Task has finished running successfully. |
Methods
READY()
def READY()
The Task has just been enqueued, or is ready to be executed again.
RUNNING()
def RUNNING()
The Task is currently running.
FAILED()
def FAILED()
The Task raised an exception during execution, or was unable to start.
SUCCESSFUL()
def SUCCESSFUL()
The Task has finished running successfully.