diff options
| author | Frederick Muriuki Muriithi | 2023-09-14 12:06:23 +0300 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2023-09-26 03:44:30 +0300 |
| commit | e19b01571ce61e01f482a1dadeeb2fd835fda939 (patch) | |
| tree | 27b8c7f86313a86bc1e6705ac65ff5996403eace /gn_auth/auth/authorisation/data/mrna.py | |
| parent | 345e33fc8e1b12dda6626307ebac7e1206200974 (diff) | |
| download | gn-auth-e19b01571ce61e01f482a1dadeeb2fd835fda939.tar.gz | |
Move `groups` package under `resources` package
With user groups being resources that users can act on (with the recent changes), this commit moves the `groups` module to under the `resources` module. It also renames the `*_resources.py` modules by dropping the `_resources` part since the code is under the `resources` module anyway.
Diffstat (limited to 'gn_auth/auth/authorisation/data/mrna.py')
| -rw-r--r-- | gn_auth/auth/authorisation/data/mrna.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gn_auth/auth/authorisation/data/mrna.py b/gn_auth/auth/authorisation/data/mrna.py index 53f9bf9..edcd29e 100644 --- a/gn_auth/auth/authorisation/data/mrna.py +++ b/gn_auth/auth/authorisation/data/mrna.py @@ -3,12 +3,12 @@ import uuid from typing import Iterable from MySQLdb.cursors import DictCursor -from ..checks import authorised_p -from ..groups.models import Group +from gn_auth.auth.dictify import dictify +from gn_auth.auth.db import sqlite3 as authdb +from gn_auth.auth.db import mariadb as gn3db -from ...dictify import dictify -from ...db import sqlite3 as authdb -from ...db import mariadb as gn3db +from gn_auth.auth.authorisation.checks import authorised_p +from gn_auth.auth.authorisation.resources.groups.models import Group def linked_mrna_data(conn: authdb.DbConnection) -> Iterable[dict]: """Retrieve mRNA Assay data that is linked to user groups.""" |
