app.registry

Registry of available tasks.

Module Contents

Classes

TaskRegistry() Map of registered tasks.

Functions

_unpickle_task(name)
_unpickle_task_v2(name,module=None)
class TaskRegistry

Map of registered tasks.

__missing__(key)
register(task)

Register a task in the task registry.

The task will be automatically instantiated if not already an instance. Name must be configured prior to registration.

unregister(name)

Unregister task by name.

Arguments:
name (str): name of the task to unregister, or a
celery.task.base.Task with a valid name attribute.
Raises:
celery.exceptions.NotRegistered: if the task is not registered.
regular()
periodic()
filter_types(type)
_unpickle_task(name)
_unpickle_task_v2(name, module=None)