aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth')
-rw-r--r--gn_auth/auth/authorisation/data/genotypes.py1
-rw-r--r--gn_auth/auth/authorisation/data/mrna.py1
-rw-r--r--gn_auth/auth/authorisation/data/phenotypes.py1
-rw-r--r--gn_auth/auth/authorisation/privileges.py2
-rw-r--r--gn_auth/auth/authorisation/roles/models.py2
5 files changed, 2 insertions, 5 deletions
diff --git a/gn_auth/auth/authorisation/data/genotypes.py b/gn_auth/auth/authorisation/data/genotypes.py
index e0ffdc8..bde045b 100644
--- a/gn_auth/auth/authorisation/data/genotypes.py
+++ b/gn_auth/auth/authorisation/data/genotypes.py
@@ -5,7 +5,6 @@ from typing import Iterable
from MySQLdb.cursors import DictCursor
-from gn_auth.auth.dictify import dictify
from gn_auth.auth.db import mariadb as gn3db
from gn_auth.auth.db import sqlite3 as authdb
diff --git a/gn_auth/auth/authorisation/data/mrna.py b/gn_auth/auth/authorisation/data/mrna.py
index e65fbd0..60470a7 100644
--- a/gn_auth/auth/authorisation/data/mrna.py
+++ b/gn_auth/auth/authorisation/data/mrna.py
@@ -4,7 +4,6 @@ from dataclasses import asdict
from typing import Iterable
from MySQLdb.cursors import DictCursor
-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
diff --git a/gn_auth/auth/authorisation/data/phenotypes.py b/gn_auth/auth/authorisation/data/phenotypes.py
index 3baac75..0a76237 100644
--- a/gn_auth/auth/authorisation/data/phenotypes.py
+++ b/gn_auth/auth/authorisation/data/phenotypes.py
@@ -5,7 +5,6 @@ from typing import Any, Iterable
from MySQLdb.cursors import DictCursor
-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
diff --git a/gn_auth/auth/authorisation/privileges.py b/gn_auth/auth/authorisation/privileges.py
index 99f41fc..fabab65 100644
--- a/gn_auth/auth/authorisation/privileges.py
+++ b/gn_auth/auth/authorisation/privileges.py
@@ -1,6 +1,6 @@
"""Handle privileges"""
from dataclasses import dataclass
-from typing import Any, Iterable
+from typing import Iterable
from ..db import sqlite3 as db
from ..authentication.users import User
diff --git a/gn_auth/auth/authorisation/roles/models.py b/gn_auth/auth/authorisation/roles/models.py
index 74f9e64..5d52be0 100644
--- a/gn_auth/auth/authorisation/roles/models.py
+++ b/gn_auth/auth/authorisation/roles/models.py
@@ -1,7 +1,7 @@
"""Handle management of roles"""
from uuid import UUID, uuid4
from functools import reduce
-from typing import Any, Sequence, Iterable, NamedTuple
+from dataclasses import dataclass, asdict
from typing import Any, Sequence, Iterable