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

celery.app.builtins

celery.app.builtins

Built-in tasks that are always available in all app instances. E.g. chord, group and xmap.

celery.app.builtins.shared_task(constructor)[源代码]

Decorator that specifies a function that generates a built-in task.

The function will then be called for every new app instance created (lazily, so more exactly when the task registry for that app is needed).

The function must take a single app argument.

celery.app.builtins.load_shared_tasks(app)[源代码]

Create built-in tasks for an app instance.

上一个主题

celery.app.registry

下一个主题

celery.app.log

本页