diff options
author | Frederick Muriuki Muriithi | 2024-04-23 17:08:18 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-23 17:08:18 +0300 |
commit | b4278a0dfd1aaa1c95cc811aa15f3cf9ea4a54bc (patch) | |
tree | e6495dbd699515258aa841c6722cc085c626be1c /gn_auth/auth/authorisation/resources | |
parent | d4b8d19a74607468c21a247f07f39c8a18e59993 (diff) | |
download | gn-auth-b4278a0dfd1aaa1c95cc811aa15f3cf9ea4a54bc.tar.gz |
pylint: Fix linting errors.
Diffstat (limited to 'gn_auth/auth/authorisation/resources')
-rw-r--r-- | gn_auth/auth/authorisation/resources/models.py | 3 | ||||
-rw-r--r-- | gn_auth/auth/authorisation/resources/phenotype.py | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py index 9186380..9931559 100644 --- a/gn_auth/auth/authorisation/resources/models.py +++ b/gn_auth/auth/authorisation/resources/models.py @@ -15,8 +15,7 @@ from gn_auth.auth.authorisation.errors import NotFoundError, AuthorisationError from .checks import authorised_for from .base import Resource, ResourceCategory -from .groups.models import ( - Group, GroupRole, user_group, resource_owner, is_group_leader) +from .groups.models import Group, GroupRole, user_group, is_group_leader from .mrna import ( resource_data as mrna_resource_data, attach_resources_data as mrna_attach_resources_data, diff --git a/gn_auth/auth/authorisation/resources/phenotype.py b/gn_auth/auth/authorisation/resources/phenotype.py index 6af3b0a..7005db3 100644 --- a/gn_auth/auth/authorisation/resources/phenotype.py +++ b/gn_auth/auth/authorisation/resources/phenotype.py @@ -6,7 +6,6 @@ import sqlite3 import gn_auth.auth.db.sqlite3 as db -from .groups import Group from .base import Resource from .data import __attach_data__ |