aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources/models.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-02-26 13:35:49 -0600
committerFrederick Muriuki Muriithi2025-02-26 13:35:49 -0600
commit1a9b87f34f84107d0ede098b6c5f276a2d47ef39 (patch)
tree0de97e000ba5727437a4a563c289da7829db422c /gn_auth/auth/authorisation/resources/models.py
parentd35b73fb0924ebf1f1e43f42eba0f8fe9bfd6dc8 (diff)
downloadgn-auth-1a9b87f34f84107d0ede098b6c5f276a2d47ef39.tar.gz
Fix pylint errors.
Diffstat (limited to 'gn_auth/auth/authorisation/resources/models.py')
-rw-r--r--gn_auth/auth/authorisation/resources/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py
index c1748f1..d136fec 100644
--- a/gn_auth/auth/authorisation/resources/models.py
+++ b/gn_auth/auth/authorisation/resources/models.py
@@ -39,7 +39,7 @@ from .phenotypes.models import (
@authorised_p(("group:resource:create-resource",),
error_description="Insufficient privileges to create a resource",
oauth2_scope="profile resource")
-def create_resource(# pylint: disable=[too-many-arguments]
+def create_resource(# pylint: disable=[too-many-arguments, too-many-positional-arguments]
cursor: sqlite3.Cursor,
resource_name: str,
resource_category: ResourceCategory,