This document describes an older version of Celery (2.1). For the latest stable version please go here.
celery.registry
Site registry for tasks.
The task is not registered.
Return all tasks of a specific type.
Get all periodic task types.
Register a task in the task registry.
The task will be automatically instantiated if not already an instance.
Get all regular task types.
Unregister task by name.
Parameters: | name – name of the task to unregister, or a celery.task.base.Task with a valid name attribute. |
---|---|
Raises celery.exceptions.NotRegistered: | |
if the task has not been registered. |