This is an automated email from the ASF dual-hosted git repository.
amitmiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new c0fc1ae fix(cross-filter): fix scheme py (#13665)
c0fc1ae is described below
commit c0fc1ae0186a6e895785d146952b4fc2dc5d6eb9
Author: simcha90 <[email protected]>
AuthorDate: Wed Mar 17 19:53:40 2021 +0200
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 80da0fd..0d89c2c 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())