mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat(SIP-95): new endpoint for table metadata (#28122)
This commit is contained in:
@@ -132,9 +132,7 @@ class BaseTestChartDataApi(SupersetTestCase):
|
||||
|
||||
def quote_name(self, name: str):
|
||||
if get_main_database().backend in {"presto", "hive"}:
|
||||
with (
|
||||
get_example_database().get_inspector_with_context() as inspector
|
||||
): # E: Ne
|
||||
with get_example_database().get_inspector() as inspector: # E: Ne
|
||||
return inspector.engine.dialect.identifier_preparer.quote_identifier(
|
||||
name
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user