From 3f5d5cc0aa46bc4c9b2da29a209c2f842f603bc1 Mon Sep 17 00:00:00 2001 From: Lily Kuang Date: Wed, 19 Aug 2020 11:59:16 -0700 Subject: [PATCH] fix: remove duplicated params and cache_timeout from list_columns; add viz_type to list_columns (#10643) --- superset/charts/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset/charts/api.py b/superset/charts/api.py index 47eb03e0f..d91380174 100644 --- a/superset/charts/api.py +++ b/superset/charts/api.py @@ -119,12 +119,11 @@ class ChartRestApi(BaseSupersetModelRestApi): "table.table_name", "thumbnail_url", "url", - "params", - "cache_timeout", "owners.id", "owners.username", "owners.first_name", "owners.last_name", + "viz_type", ] list_select_columns = list_columns + ["changed_by_fk", "changed_on"] order_columns = [