From 69fc5d8b02abdb23c48dd614ba6fa68a5bbf32c9 Mon Sep 17 00:00:00 2001 From: Taylor Date: Thu, 14 Apr 2022 15:00:47 -0400 Subject: [PATCH] fix(dashboard): make to fix python lint issue --- superset/dashboards/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/dashboards/filters.py b/superset/dashboards/filters.py index 20a7041033fb9..7b02c23679540 100644 --- a/superset/dashboards/filters.py +++ b/superset/dashboards/filters.py @@ -224,14 +224,14 @@ def apply(self, query: Query, value: Any) -> Query: return query.filter( and_( Dashboard.certified_by.isnot(None), - Dashboard.certified_by != '', + Dashboard.certified_by != "", ) ) if value is False: return query.filter( or_( Dashboard.certified_by.is_(None), - Dashboard.certified_by == '', + Dashboard.certified_by == "", ) ) return query