mirror of
https://github.com/apache/superset.git
synced 2026-06-04 15:19:25 +00:00
chore: deprecate /superset/slice_json/<int:slice_id> and /superset/annotation_json/<int:layer_id> (#22496)
This commit is contained in:
@@ -576,6 +576,7 @@ class QueryContextProcessor:
|
||||
if not chart.datasource:
|
||||
raise QueryObjectValidationError(_("The chart datasource does not exist"))
|
||||
form_data = chart.form_data.copy()
|
||||
form_data.update(annotation_layer.get("overrides", {}))
|
||||
try:
|
||||
viz_obj = get_viz(
|
||||
datasource_type=chart.datasource.type,
|
||||
|
||||
Reference in New Issue
Block a user