diff --git a/superset/dashboards/filter_state/commands/get.py b/superset/dashboards/filter_state/commands/get.py index cbddd43693e4c..8aa62295012a4 100644 --- a/superset/dashboards/filter_state/commands/get.py +++ b/superset/dashboards/filter_state/commands/get.py @@ -25,7 +25,7 @@ class GetFilterStateCommand(GetKeyValueCommand): def get(self, resource_id: int, key: str, refresh_timeout: bool) -> Optional[str]: - dashboard = DashboardDAO.get_by_id_or_slug(str(resource_id)) + DashboardDAO.get_by_id_or_slug(str(resource_id)) entry: Entry = cache_manager.filter_state_cache.get( cache_key(resource_id, key) ) or {}