Celery Application.
- celery.app.default_app=<Celery default>
-
Proxy always returning the app set as default.
- celery.app.app_or_default(app=None)
-
Function returning the app provided or the default app if none.
The environment variable
CELERY_TRACE_APPis used to trace app leaks. When enabled an exception is raised if there is no active app.
- celery.app.enable_trace()
-
Enable tracing of app instances.
- celery.app.disable_trace()
-
Disable tracing of app instances.
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.html