diff options
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, |