mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: add imports back to celery file (#29921)
This commit is contained in:
@@ -32,6 +32,9 @@ from superset.extensions import celery_app, db
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user