feat(SIP-95): new endpoint for table metadata (#28122)

This commit is contained in:
Beto Dealmeida
2024-04-25 12:23:49 -04:00
committed by GitHub
parent 52f8734662
commit 6cf681df68
71 changed files with 1048 additions and 513 deletions

View File

@@ -1922,6 +1922,7 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
table: Optional["Table"] = None,
viz: Optional["BaseViz"] = None,
sql: Optional[str] = None,
catalog: Optional[str] = None, # pylint: disable=unused-argument
schema: Optional[str] = None,
) -> None:
"""
@@ -1934,6 +1935,7 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
:param table: The Superset table (requires database)
:param viz: The visualization
:param sql: The SQL string (requires database)
:param catalog: Optional catalog name
:param schema: Optional schema name
:raises SupersetSecurityException: If the user cannot access the resource
"""