aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/authentication_tools.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-28 10:57:17 +0300
committerBonfaceKilz2021-10-28 11:10:21 +0300
commit230184bf1484ed672bf66c29110bcb47e556f72f (patch)
tree6538e0231272eb9cf47fe523c41f0a6d821e3382 /wqflask/utility/authentication_tools.py
parent67d71753259e3466b5672c759f22a105c8b653ef (diff)
downloadgenenetwork2-230184bf1484ed672bf66c29110bcb47e556f72f.tar.gz
Remove the use of '@deprecated'
This causes noisy logging.
Diffstat (limited to 'wqflask/utility/authentication_tools.py')
-rw-r--r--wqflask/utility/authentication_tools.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/wqflask/utility/authentication_tools.py b/wqflask/utility/authentication_tools.py
index c4801c8c..afea69e1 100644
--- a/wqflask/utility/authentication_tools.py
+++ b/wqflask/utility/authentication_tools.py
@@ -1,7 +1,6 @@
import json
import requests
-from deprecated import deprecated
from flask import g
from base import webqtlConfig
@@ -127,7 +126,6 @@ def check_owner(dataset=None, trait_id=None, resource_id=None):
return False
-@deprecated
def check_owner_or_admin(dataset=None, trait_id=None, resource_id=None):
if not resource_id:
if dataset.type == "Temp":