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