This document describes an older version of Celery (2.1). For the latest stable version please go here.

Task States - celery.states

Sets

READY_STATES

Set of states meaning the task result is ready (has been executed).

UNREADY_STATES

Set of states meaning the task result is not ready (has not been executed).

EXCEPTION_STATES

Set of states meaning the task returned an exception.

PROPAGATE_STATES

Set of exception states that should propagate exceptions to the user.

ALL_STATES

Set of all possible states.

celery.states.precedence(state)

Get the precedence index for state.

Lower index means higher precedence.

class celery.states.state

State is a subclass of str, implementing comparison methods adhering to state precedence rules.

compare(other, fun, default=False)

Previous topic

Task Registry - celery.registry

Next topic

Messaging - celery.messaging

This Page