dpgaspar commented on code in PR #33055:
URL: https://github.com/apache/superset/pull/33055#discussion_r2334002729


##########
superset/extensions/__init__.py:
##########
@@ -123,7 +124,7 @@ def init_app(self, app: Flask) -> None:
 cache_manager = CacheManager()
 celery_app = celery.Celery()
 csrf = CSRFProtect()
-db = SQLA()  # pylint: disable=disallowed-name
+db = get_sqla_class()()

Review Comment:
   This will allow compatibility for sqlalchemy 1.x and sqlalchemy 2.x at the 
same time



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to