Task States - celery.states

States

celery.states.PENDING

Task is waiting for execution or unknown.

celery.states.STARTED

Task has been started.

celery.states.SUCCESS

Task has been successfully executed.

celery.states.FAILURE

Task execution resulted in failure.

celery.states.RETRY

Task is being retried.

celery.states.REVOKED

Task has been revoked.

Sets

celery.states.READY_STATES

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

celery.states.UNREADY_STATES

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

celery.states.EXCEPTION_STATES

Set of states meaning the task returned an exception.

celery.states.PROPAGATE_STATES

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

celery.states.ALL_STATES

Set of all possible states.

Table Of Contents

Previous topic

Task Registry - celery.registry

Next topic

Messaging - celery.messaging

This Page