From 9f5eb899e87a1640887212b1942ed816a87cbec4 Mon Sep 17 00:00:00 2001 From: Joe Li Date: Mon, 12 Aug 2024 15:21:33 -0700 Subject: [PATCH] fix: add imports back to celery file (#29921) --- superset/tasks/celery_app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superset/tasks/celery_app.py b/superset/tasks/celery_app.py index 5a0963ccd544b..2049246f0428e 100644 --- a/superset/tasks/celery_app.py +++ b/superset/tasks/celery_app.py @@ -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