Files
training-software/config/__init__.py
paperclip ba3fa67194 fix(TRA-306): make celery import conditional in config/__init__.py
Waitlist deployment uses requirements/waitlist.txt which does not include celery.
Making the import conditional allows the app to start without celery installed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-07 11:31:54 +00:00

8 lines
108 B
Python

try:
from .celery import app as celery_app
__all__ = ("celery_app",)
except ImportError:
pass