mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
refactor: rename get_sqla_engine_with_context (#28012)
This commit is contained in:
@@ -456,7 +456,7 @@ class BigQueryEngineSpec(BaseEngineSpec): # pylint: disable=too-many-public-met
|
||||
In BigQuery, a catalog is called a "project".
|
||||
"""
|
||||
engine: Engine
|
||||
with database.get_sqla_engine_with_context() as engine:
|
||||
with database.get_sqla_engine() as engine:
|
||||
client = cls._get_client(engine)
|
||||
projects = client.list_projects()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user