diff options
Diffstat (limited to 'gn_auth/auth/authorisation/data/mrna.py')
-rw-r--r-- | gn_auth/auth/authorisation/data/mrna.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/data/mrna.py b/gn_auth/auth/authorisation/data/mrna.py index edcd29e..e65fbd0 100644 --- a/gn_auth/auth/authorisation/data/mrna.py +++ b/gn_auth/auth/authorisation/data/mrna.py @@ -1,5 +1,6 @@ """Handle linking of mRNA Assay data to the Auth(entic|oris)ation system.""" import uuid +from dataclasses import asdict from typing import Iterable from MySQLdb.cursors import DictCursor @@ -96,6 +97,6 @@ def link_mrna_data( "description": ( f"Successfully linked {len(datasets)} to group " f"'{group.group_name}'."), - "group": dictify(group), + "group": asdict(group), "datasets": datasets } |