From 76b114a454d5ade92147ab83dd0abd817b9d0ff9 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 12 Mar 2024 22:23:41 +0300 Subject: Remove unused imports. Signed-off-by: Munyoki Kilyungi --- gn_auth/auth/authorisation/resources/base.py | 2 +- gn_auth/auth/authorisation/resources/groups/models.py | 2 +- gn_auth/auth/authorisation/roles/models.py | 4 ++-- 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 -- cgit v1.2.3