你正在阅读 Celery 3.1 的文档。开发版本文档见: 此处.

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.

上一个主题

celery — Distributed processing

下一个主题

celery.app.task

本页