Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Jul 1, 2024
1 parent 42281de commit d7752de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superset/extensions/metastore_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,4 @@ def has(self, key: str) -> bool:

@transaction()
def delete(self, key: str) -> Any:
ret = KeyValueDAO.delete_entry(RESOURCE, self.get_key(key))
return ret
return KeyValueDAO.delete_entry(RESOURCE, self.get_key(key))

0 comments on commit d7752de

Please sign in to comment.