mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
refactor: rename get_sqla_engine_with_context (#28012)
This commit is contained in:
@@ -644,7 +644,7 @@ def cancel_query(query: Query) -> bool:
|
||||
if cancel_query_id is None:
|
||||
return False
|
||||
|
||||
with query.database.get_sqla_engine_with_context(
|
||||
with query.database.get_sqla_engine(
|
||||
query.schema, source=QuerySource.SQL_LAB
|
||||
) as engine:
|
||||
with closing(engine.raw_connection()) as conn:
|
||||
|
||||
Reference in New Issue
Block a user