Routing Callbacks to Celery Worker on External Server

Thanks for the reply @mdylan2 . I think I had a different issue that was solved here.

The tl;dr. I defined my celery_app in a celery_app.py file that only defined the app.
In a separate app.py I create the app using Dash(__name__....). I was starting my celery worker by running the celery_app.py file:
celery -A celery_app.celery_app worker --loglevel=INFO
but instead I should’ve imported into my app.py,
then run celery -A app.celery_app worker --loglevel=INFO.

2 Likes