celery.app

Celery Application.

Proxies

celery.app.default_app = <Celery default:0xb0ada2c>

Functions

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()[源代码]

Data

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.