You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2024/08/12 22:21:40 UTC

(superset) branch master updated: fix: add imports back to celery file (#29921)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f5eb899e8 fix: add imports back to celery file (#29921)
9f5eb899e8 is described below

commit 9f5eb899e87a1640887212b1942ed816a87cbec4
Author: Joe Li <jo...@preset.io>
AuthorDate: Mon Aug 12 15:21:33 2024 -0700

    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 5a0963ccd5..2049246f04 100644
--- a/superset/tasks/celery_app.py
+++ b/superset/tasks/celery_app.py
@@ -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