diff options
Diffstat (limited to 'gn_auth/auth')
-rw-r--r-- | gn_auth/auth/authorisation/resources/base.py | 2 | ||||
-rw-r--r-- | gn_auth/auth/authorisation/resources/groups/models.py | 2 | ||||
-rw-r--r-- | 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 |