mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -52,7 +52,7 @@ def _get_other_session() -> Session:
|
||||
from superset import db
|
||||
|
||||
bind = db.session.get_bind()
|
||||
SessionMaker = sessionmaker(bind=bind)
|
||||
SessionMaker = sessionmaker(bind=bind) # noqa: N806
|
||||
return SessionMaker()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user