chore: abstract models and daos into superset-core (#35259)

This commit is contained in:
Ville Brofeldt
2025-11-14 17:00:44 -08:00
committed by GitHub
parent c955a5dc08
commit c2baba50f9
35 changed files with 948 additions and 431 deletions

View File

@@ -51,7 +51,7 @@ class UpdateRLSRuleCommand(BaseCommand):
raise RLSRuleNotFoundError()
roles = populate_roles(self._roles)
tables = (
db.session.query(SqlaTable).filter(SqlaTable.id.in_(self._tables)).all()
db.session.query(SqlaTable).filter(SqlaTable.id.in_(self._tables)).all() # type: ignore[attr-defined]
)
if len(tables) != len(self._tables):
raise DatasourceNotFoundValidationError()