Spec-Zone.ru › Celery

celery.app.registry

Registry of available tasks.

classcelery.app.registry.TaskRegistry

Map of registered tasks.

exceptionNotRegistered

The task is not registered.

filter_types(type)
periodic()
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.

regular()
unregister(name)

Unregister task by name.

Parameters:

name (str) – name of the task to unregister, or a celery.app.task.Task with a valid name attribute.

Raises:

celery.exceptions.NotRegistered – if the task is not registered.

Copyright © 2017-2026 Asif Saif Uddin, core team & contributors. All rights reserved.
Celery is licensed under The BSD License (3 Clause, also known as the new BSD license). The license is an OSI approved Open Source license and is GPL-compatible.
https://docs.celeryq.dev/en/stable/reference/celery.app.registry.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API