mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[explorev2] no bootstrap data, just metadata in exploreV2 (#1827)
json_data really just returns the *metadata* for the slice, where get_json returns both the metadata and the data
This commit is contained in:
parent
fa9c066ffe
commit
552d46479b
@ -1492,7 +1492,7 @@ class Superset(BaseSupersetView):
|
||||
"datasource_name": viz_obj.datasource.name,
|
||||
"datasource_type": datasource_type,
|
||||
"user_id": user_id,
|
||||
"viz": json.loads(viz_obj.get_json())
|
||||
"viz": json.loads(viz_obj.json_data)
|
||||
}
|
||||
table_name = viz_obj.datasource.table_name \
|
||||
if datasource_type == 'table' \
|
||||
|
Loading…
Reference in New Issue
Block a user