This document is for Celery's development version, which can be significantly different from previous releases. Get old docs here: 2.5.
Built-in Task States.
See Task States.
Set of states meaning the task result is ready (has been executed).
Set of states meaning the task result is not ready (has not been executed).
Set of states meaning the task returned an exception.
Set of exception states that should propagate exceptions to the user.
Set of all possible states.
State precedence. None represents the precedence of an unknown state. Lower index means higher precedence.
Get the precedence index for state.
Lower index means higher precedence.
State is a subclass of str, implementing comparison methods adhering to state precedence rules.