You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/07/15 01:08:48 UTC
(superset) branch master updated: fix(migration): use sqlalchemy.orm.declarative_base to avoid MovedIn20Warning (#42056)
This is an automated email from the ASF dual-hosted git repository.
aminghadersohi 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 9db88203e16 fix(migration): use sqlalchemy.orm.declarative_base to avoid MovedIn20Warning (#42056)
9db88203e16 is described below
commit 9db88203e16e89f207b8cf9cf496329d1844a64e
Author: Mafi <ma...@gmail.com>
AuthorDate: Wed Jul 15 11:08:43 2026 +1000
fix(migration): use sqlalchemy.orm.declarative_base to avoid MovedIn20Warning (#42056)
Co-authored-by: Matt Fitzgerald <ma...@preset.io>
Co-authored-by: Claude Sonnet 4.6 <no...@anthropic.com>
---
...00-00_d24e6b0a9c7f_strip_metricsqlexpressions_from_ag_grid_params.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/migrations/versions/2026-06-30_00-00_d24e6b0a9c7f_strip_metricsqlexpressions_from_ag_grid_params.py b/superset/migrations/versions/2026-06-30_00-00_d24e6b0a9c7f_strip_metricsqlexpressions_from_ag_grid_params.py
index 86c74409760..4e408132af1 100644
--- a/superset/migrations/versions/2026-06-30_00-00_d24e6b0a9c7f_strip_metricsqlexpressions_from_ag_grid_params.py
+++ b/superset/migrations/versions/2026-06-30_00-00_d24e6b0a9c7f_strip_metricsqlexpressions_from_ag_grid_params.py
@@ -33,7 +33,7 @@ Create Date: 2026-06-30 00:00:00.000000
from alembic import op
from sqlalchemy import Column, Integer, String, Text
-from sqlalchemy.ext.declarative import declarative_base
+from sqlalchemy.orm import declarative_base
from superset import db
from superset.utils import json