Skip to content

Commit

Permalink
fix: add imports back to celery file (#29921)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadpandajoe authored Aug 12, 2024
1 parent 050c6da commit 9f5eb89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset/tasks/celery_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
flask_app = create_app()

# Need to import late, as the celery_app will have been setup by "create_app()"
# ruff: noqa: E402, F401
# pylint: disable=wrong-import-position, unused-import
from . import cache, scheduler

# Export the celery app globally for Celery (as run on the cmd line) to find
app = celery_app
Expand Down

0 comments on commit 9f5eb89

Please sign in to comment.