aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/data/genotypes.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authorisation/data/genotypes.py')
-rw-r--r--gn_auth/auth/authorisation/data/genotypes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/data/genotypes.py b/gn_auth/auth/authorisation/data/genotypes.py
index bfddfc1..e0ffdc8 100644
--- a/gn_auth/auth/authorisation/data/genotypes.py
+++ b/gn_auth/auth/authorisation/data/genotypes.py
@@ -1,5 +1,6 @@
"""Handle linking of Genotype data to the Auth(entic|oris)ation system."""
import uuid
+from dataclasses import asdict
from typing import Iterable
from MySQLdb.cursors import DictCursor
@@ -92,6 +93,6 @@ def link_genotype_data(
"description": (
f"Successfully linked {len(datasets)} to group "
f"'{group.group_name}'."),
- "group": dictify(group),
+ "group": asdict(group),
"datasets": datasets
}