aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/decorators.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn2/wqflask/decorators.py b/gn2/wqflask/decorators.py
index e4fb31ff..54fde586 100644
--- a/gn2/wqflask/decorators.py
+++ b/gn2/wqflask/decorators.py
@@ -65,6 +65,7 @@ class AuthorisationError(Exception):
def required_trait_access(access_levels: tuple[str, ...],
dataset_key: str = "dataset_name",
trait_key: str = "name") -> Callable:
+ @wraps(required_trait_access)
def __build_access_checker__(func: Callable):
@wraps(func)
def __checker__(*args, **kwargs):