你正在阅读 Celery 3.1 的文档。开发版本文档见:
此处.
celery.app
Celery Application.
-
celery.app.default_app = <Celery default:0xb0ada2c>
-
celery.app.app_or_default(app=None)
Function returning the app provided or the default app if none.
The environment variable CELERY_TRACE_APP is used to
trace app leaks. When enabled an exception is raised if there
is no active app.
-
celery.app.enable_trace()[源代码]
-
celery.app.disable_trace()[源代码]
-
celery.app.default_loader = 'default'
The ‘default’ loader is the default loader used by old applications.
This is deprecated and should no longer be used as it’s set too early
to be affected by –loader argument.