mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
fix(permalink): remove memoize on get salt func (#19749)
This commit is contained in:
parent
57157c8b15
commit
cf5145918b
@ -20,7 +20,6 @@ from uuid import uuid3
|
||||
|
||||
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("")
|
||||
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user