你正在阅读 Celery 3.1 的文档。开发版本文档见: 此处.
Registry of available tasks.
The task is not registered.
Register a task in the task registry.
The task will be automatically instantiated if not already an instance.
Unregister task by name.
参数: | name – name of the task to unregister, or a celery.task.base.Task with a valid name attribute. |
---|---|
引发 celery.exceptions.NotRegistered: | |
if the task has not been registered. |