aboutsummaryrefslogtreecommitdiff
path: root/gn_auth
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-12 22:23:41 +0300
committerMunyoki Kilyungi2024-03-13 15:34:57 +0300
commit76b114a454d5ade92147ab83dd0abd817b9d0ff9 (patch)
tree4decd3f96af4e9862736d7c89e896f809d74269d /gn_auth
parentd2f349433c08d2317bc2de6b21dd16cdb58f400c (diff)
downloadgn-auth-76b114a454d5ade92147ab83dd0abd817b9d0ff9.tar.gz
Remove unused imports.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/auth/authorisation/resources/base.py2
-rw-r--r--gn_auth/auth/authorisation/resources/groups/models.py2
-rw-r--r--gn_auth/auth/authorisation/roles/models.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/gn_auth/auth/authorisation/resources/base.py b/gn_auth/auth/authorisation/resources/base.py
index 02b738f..ac93049 100644
--- a/gn_auth/auth/authorisation/resources/base.py
+++ b/gn_auth/auth/authorisation/resources/base.py
@@ -1,6 +1,6 @@
"""Base types for resources."""
from uuid import UUID
-from dataclasses import dataclass, asdict
+from dataclasses import dataclass
from typing import Any, Sequence
diff --git a/gn_auth/auth/authorisation/resources/groups/models.py b/gn_auth/auth/authorisation/resources/groups/models.py
index fc10972..e8c3492 100644
--- a/gn_auth/auth/authorisation/resources/groups/models.py
+++ b/gn_auth/auth/authorisation/resources/groups/models.py
@@ -2,7 +2,7 @@
import json
from uuid import UUID, uuid4
from functools import reduce
-from dataclasses import dataclass, asdict
+from dataclasses import dataclass
from typing import Any, Sequence, Iterable, Optional
from flask import g
diff --git a/gn_auth/auth/authorisation/roles/models.py b/gn_auth/auth/authorisation/roles/models.py
index 5d52be0..b45dcc1 100644
--- a/gn_auth/auth/authorisation/roles/models.py
+++ b/gn_auth/auth/authorisation/roles/models.py
@@ -1,9 +1,9 @@
"""Handle management of roles"""
from uuid import UUID, uuid4
from functools import reduce
-from dataclasses import dataclass, asdict
+from dataclasses import dataclass
-from typing import Any, Sequence, Iterable
+from typing import Sequence, Iterable
from pymonad.either import Left, Right, Either