mirror of
https://github.com/apache/superset.git
synced 2026-09-01 21:11:28 +00:00
session.query(Model).get(id) is deprecated under SQLAlchemy 2.0 in favor of session.get(Model, id). Migrate the 9 remaining call sites (flagged by review) and update the corresponding test mocks that asserted against the old session.query(...).get(...) call shape. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>