From e7937ade8d91f7741a649de24faacbe194a3c0d0 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 8 Aug 2023 06:48:14 +0300 Subject: Use relative imports to break circular import errors --- gn_auth/auth/authorisation/groups/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gn_auth/auth/authorisation/groups/models.py') diff --git a/gn_auth/auth/authorisation/groups/models.py b/gn_auth/auth/authorisation/groups/models.py index 0ffd3a7..6a39681 100644 --- a/gn_auth/auth/authorisation/groups/models.py +++ b/gn_auth/auth/authorisation/groups/models.py @@ -7,9 +7,9 @@ from typing import Any, Sequence, Iterable, Optional, NamedTuple from flask import g from pymonad.maybe import Just, Maybe, Nothing -from gn_auth.auth.db import sqlite3 as db -from gn_auth.auth.dictify import dictify -from gn_auth.auth.authentication.users import User, user_by_id +from ...db import sqlite3 as db +from ...dictify import dictify +from ...authentication.users import User, user_by_id from ..checks import authorised_p from ..privileges import Privilege -- cgit v1.2.3