From 54956c8134f01ae6f84b173e0ed0d8e6889d66b1 Mon Sep 17 00:00:00 2001 From: simcha90 <56388545+simcha90@users.noreply.github.com> Date: Wed, 17 Mar 2021 19:53:40 +0200 Subject: [PATCH] fix(cross-filter): fix scheme py (#13665) * fix: fix scehme py * fix: fix scheme py --- superset/dashboards/schemas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/dashboards/schemas.py b/superset/dashboards/schemas.py index 0c83d61a8ef49..0f85fbf61c500 100644 --- a/superset/dashboards/schemas.py +++ b/superset/dashboards/schemas.py @@ -108,8 +108,8 @@ def validate_json_metadata(value: Union[bytes, bytearray, str]) -> None: class DashboardJSONMetadataSchema(Schema): # native_filter_configuration is for dashboard-native filters native_filter_configuration = fields.List(fields.Dict(), allow_none=True) - # chart_configuration is for dashboard-native filters - chart_configuration = fields.List(fields.Dict(), allow_none=True) + # chart_configuration for now keeps data about cross-filter scoping for charts + chart_configuration = fields.Dict() # filter_sets_configuration is for dashboard-native filters filter_sets_configuration = fields.List(fields.Dict(), allow_none=True) timed_refresh_immune_slices = fields.List(fields.Integer())