Celery
wireup.integration.celery¶
Classes¶
Functions¶
get_app_container(app)
¶
Return the container associated with the given Celery application.
get_task_container()
¶
Return the scoped container handling the current task execution.
inject(target)
¶
Inject dependencies into a Celery task function or task instance.
Use this decorator on every task that needs Wireup dependency injection.
setup(container, app)
¶
Integrate Wireup with Celery.
Setup stores the app container and manages task scope context via Celery task lifecycle signals.
Tasks must be decorated with @wireup.integration.celery.inject to use dependency injection.