mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat: API for semantic layers
This commit is contained in:
@@ -269,8 +269,12 @@ class SupersetAppInitializer: # pylint: disable=too-many-public-methods
|
||||
appbuilder.add_api(RLSRestApi)
|
||||
appbuilder.add_api(SavedQueryRestApi)
|
||||
if feature_flag_manager.is_feature_enabled("SEMANTIC_LAYERS"):
|
||||
from superset.semantic_layers.api import SemanticViewRestApi
|
||||
from superset.semantic_layers.api import (
|
||||
SemanticLayerRestApi,
|
||||
SemanticViewRestApi,
|
||||
)
|
||||
|
||||
appbuilder.add_api(SemanticLayerRestApi)
|
||||
appbuilder.add_api(SemanticViewRestApi)
|
||||
appbuilder.add_api(TagRestApi)
|
||||
appbuilder.add_api(SqlLabRestApi)
|
||||
|
||||
Reference in New Issue
Block a user