celery.app.builtins
celery.app.builtins.shared_task(constructor)[源代码]
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).
celery.app.builtins.load_shared_tasks(app)