This document describes the current stable version of Celery (3.1). For development docs, go here.

celery.app

Celery Application.

Proxies

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

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()[source]
celery.app.disable_trace()[source]

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.