diff options
author | Frederick Muriuki Muriithi | 2024-04-24 11:34:09 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-24 11:34:09 +0300 |
commit | 6d61ef8de94fa87cb6ee31cc57f1f37dd04d097d (patch) | |
tree | 24234aa8fa1c4b6227322aa3c58e130697cb96bb /gn_auth/auth/authorisation/roles | |
parent | b317cd7e3684bf7c034ad0a1bb208d55fb87b164 (diff) | |
download | gn-auth-6d61ef8de94fa87cb6ee31cc57f1f37dd04d097d.tar.gz |
Move the errors module up one level to break circular dependencies.
Diffstat (limited to 'gn_auth/auth/authorisation/roles')
-rw-r--r-- | gn_auth/auth/authorisation/roles/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/roles/models.py b/gn_auth/auth/authorisation/roles/models.py index b45dcc1..3ec3316 100644 --- a/gn_auth/auth/authorisation/roles/models.py +++ b/gn_auth/auth/authorisation/roles/models.py @@ -7,12 +7,13 @@ from typing import Sequence, Iterable from pymonad.either import Left, Right, Either +from gn_auth.auth.errors import NotFoundError, AuthorisationError + from ...db import sqlite3 as db from ...authentication.users import User from ..checks import authorised_p from ..privileges import Privilege -from ..errors import NotFoundError, AuthorisationError @dataclass(frozen=True) |