mirror of
https://github.com/apache/superset.git
synced 2026-07-16 11:46:09 +00:00
feat(semantic layers): dashboard filters (#40475)
This commit is contained in:
@@ -260,7 +260,14 @@ class SemanticViewRestApi(BaseSupersetModelRestApi):
|
||||
)
|
||||
return self.response_422(message=str(ex))
|
||||
|
||||
return self.response(200, result={"dimensions": dimensions, "metrics": metrics})
|
||||
return self.response(
|
||||
200,
|
||||
result={
|
||||
"name": view.name,
|
||||
"dimensions": dimensions,
|
||||
"metrics": metrics,
|
||||
},
|
||||
)
|
||||
|
||||
@expose("/", methods=("POST",))
|
||||
@protect()
|
||||
|
||||
Reference in New Issue
Block a user