Skip to content

Commit

Permalink
fix(permalink): remove memoize on get salt func
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Apr 18, 2022
1 parent 57157c8 commit 1016dc4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions superset/key_value/shared_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

from superset.key_value.types import KeyValueResource, SharedKey
from superset.key_value.utils import get_uuid_namespace, random_key
from superset.utils.memoized import memoized

RESOURCE = KeyValueResource.APP
NAMESPACE = get_uuid_namespace("")
Expand All @@ -42,7 +41,6 @@ def set_shared_value(key: SharedKey, value: Any) -> None:
CreateKeyValueCommand(resource=RESOURCE, value=value, key=uuid_key).run()


@memoized
def get_permalink_salt(key: SharedKey) -> str:
salt = get_shared_value(key)
if salt is None:
Expand Down

0 comments on commit 1016dc4

Please sign in to comment.