diff options
author | Munyoki Kilyungi | 2024-03-12 00:40:03 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-03-13 10:32:14 +0300 |
commit | 865c3b2683c1697981989edde69558103115db7d (patch) | |
tree | bec22e8de28c625cb02f897dbe8bdd92e91b580d | |
parent | 6f20d007022f421d185149e552c0bcf613a875be (diff) | |
download | gn-auth-865c3b2683c1697981989edde69558103115db7d.tar.gz |
Remove unused imports.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn_auth/auth/authorisation/data/genotypes.py | 1 | ||||
-rw-r--r-- | gn_auth/auth/authorisation/data/mrna.py | 1 | ||||
-rw-r--r-- | gn_auth/auth/authorisation/data/phenotypes.py | 1 | ||||
-rw-r--r-- | gn_auth/auth/authorisation/privileges.py | 2 | ||||
-rw-r--r-- | gn_auth/auth/authorisation/roles/models.py | 2 |
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 |