fix: add imports back to celery file (#29921)

This commit is contained in:
Joe Li
2024-08-12 15:21:33 -07:00
committed by GitHub
parent 050c6daff3
commit 9f5eb899e8

View File

@@ -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