Skip to content

Commit 9f5eb89

Browse files
authored
fix: add imports back to celery file (apache#29921)
1 parent 050c6da commit 9f5eb89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

superset/tasks/celery_app.py

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
flask_app = create_app()
3333

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

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

0 commit comments

Comments
 (0)