small code review fix (#14756)

Co-authored-by: cccs-jc <cccs-jc@cyber.gc.ca>
This commit is contained in:
cccs-jc
2021-05-27 09:04:42 -04:00
committed by GitHub
parent a6d54b681b
commit c519efe9ad

View File

@@ -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 (