diff options
author | Frederick Muriuki Muriithi | 2023-08-08 06:48:14 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-08-08 07:46:06 +0300 |
commit | e7937ade8d91f7741a649de24faacbe194a3c0d0 (patch) | |
tree | f2c868d56aebf409185beb53e06796915283157b /gn_auth/auth/authorisation/users/collections/views.py | |
parent | 7d09eb50db74ed270dec5be83bdf94bdd1b5907d (diff) | |
download | gn-auth-e7937ade8d91f7741a649de24faacbe194a3c0d0.tar.gz |
Use relative imports to break circular import errors
Diffstat (limited to 'gn_auth/auth/authorisation/users/collections/views.py')
-rw-r--r-- | gn_auth/auth/authorisation/users/collections/views.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gn_auth/auth/authorisation/users/collections/views.py b/gn_auth/auth/authorisation/users/collections/views.py index 9900205..a1cc30d 100644 --- a/gn_auth/auth/authorisation/users/collections/views.py +++ b/gn_auth/auth/authorisation/users/collections/views.py @@ -4,13 +4,14 @@ from uuid import UUID from redis import Redis from flask import jsonify, request, Response, Blueprint, current_app -from gn_auth.auth.db import sqlite3 as db -from gn_auth.auth.db.sqlite3 import with_db_connection -from gn_auth.auth.authorisation.checks import require_json -from gn_auth.auth.authorisation.errors import NotFoundError +from ....db import sqlite3 as db +from ....db.sqlite3 import with_db_connection -from gn_auth.auth.authentication.users import User, user_by_id -from gn_auth.auth.authentication.oauth2.resource_server import require_oauth +from ....authentication.users import User, user_by_id +from ....authentication.oauth2.resource_server import require_oauth + +from ...checks import require_json +from ...errors import NotFoundError from .models import ( add_traits, |