You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2022/04/18 11:26:39 UTC
[superset] branch master updated: fix(permalink): remove memoize on get salt func (#19749)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new cf5145918b fix(permalink): remove memoize on get salt func (#19749)
cf5145918b is described below
commit cf5145918ba6da3b8b803bed86ad7ca22d50494a
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Mon Apr 18 14:26:21 2022 +0300
fix(permalink): remove memoize on get salt func (#19749)
---
superset/key_value/shared_entries.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/superset/key_value/shared_entries.py b/superset/key_value/shared_entries.py
index 5dda89a7b3..5f4ded9498 100644
--- a/superset/key_value/shared_entries.py
+++ b/superset/key_value/shared_entries.py
@@ -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: