diff options
author | BonfaceKilz | 2021-10-12 14:19:26 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-25 14:00:14 +0300 |
commit | eb2e43434c137a070db5943db21d3b92afdd9a91 (patch) | |
tree | 255bd9a14947c49a1ca55d8f7d443ae325d88f36 /wqflask/utility | |
parent | 2f26b77c7be370dad03e9b8e2ce7f6040ccce528 (diff) | |
download | genenetwork2-eb2e43434c137a070db5943db21d3b92afdd9a91.tar.gz |
Mark `get_resource_info` as deprecated
Diffstat (limited to 'wqflask/utility')
-rw-r--r-- | wqflask/utility/redis_tools.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/utility/redis_tools.py b/wqflask/utility/redis_tools.py index de9dde46..e68397ab 100644 --- a/wqflask/utility/redis_tools.py +++ b/wqflask/utility/redis_tools.py @@ -4,6 +4,7 @@ import datetime import redis # used for collections +from deprecated import deprecated from utility.hmac import hmac_creation from utility.logger import getLogger logger = getLogger(__name__) @@ -321,6 +322,7 @@ def get_resource_id(dataset, trait_id=None): return resource_id +@deprecated def get_resource_info(resource_id): resource_info = Redis.hget("resources", resource_id) if resource_info: |