Skip to content

Commit

Permalink
Removes unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Jan 10, 2022
1 parent 52b8b5b commit 68e47aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/dashboards/filter_state/commands/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit 68e47aa

Please sign in to comment.