From c519efe9adbf3a12460072dd0e040ccbe36e515a Mon Sep 17 00:00:00 2001 From: cccs-jc <56140112+cccs-jc@users.noreply.github.com> Date: Thu, 27 May 2021 09:04:42 -0400 Subject: [PATCH] small code review fix (#14756) Co-authored-by: cccs-jc --- superset/jinja_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/jinja_context.py b/superset/jinja_context.py index b6fb8552c..43e64e4be 100644 --- a/superset/jinja_context.py +++ b/superset/jinja_context.py @@ -297,7 +297,7 @@ class ExtraCache: filters: List[Filter] = [] for flt in form_data.get("adhoc_filters", []): - val: Union[str, List[str]] = flt.get("comparator") + val: Union[Any, List[Any]] = flt.get("comparator") op: str = flt["operator"].upper() if "operator" in flt else None # fltOpName: str = flt.get("filterOptionName") if (