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/data | |
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/data')
-rw-r--r-- | gn_auth/auth/authorisation/data/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/data/views.py b/gn_auth/auth/authorisation/data/views.py index 01fffcd..83f4e4b 100644 --- a/gn_auth/auth/authorisation/data/views.py +++ b/gn_auth/auth/authorisation/data/views.py @@ -14,6 +14,7 @@ from flask import request, jsonify, Response, Blueprint, current_app as app from gn_auth import jobs from gn_auth.commands import run_async_cmd +from gn_auth.auth.errors import InvalidData, NotFoundError from gn_auth.auth.authorisation.resources.groups.models import group_by_id from ...db import sqlite3 as db @@ -21,7 +22,6 @@ from ...db import mariadb as gn3db from ...db.sqlite3 import with_db_connection from ..checks import require_json -from ..errors import InvalidData, NotFoundError from ..users.models import user_resource_roles |