aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-11-15 04:22:17 +0300
committerFrederick Muriuki Muriithi2022-11-15 04:22:17 +0300
commitb0d4aeb29c059c6dea85a7993149fa1e0697f702 (patch)
tree301bd3db1bb25cf622c7f83c6773e1ac5711ae7e /gn3/auth/authorisation
parent9aee64c5bccae917ab0e65c882be8f442fc0f5ca (diff)
downloadgenenetwork3-b0d4aeb29c059c6dea85a7993149fa1e0697f702.tar.gz
pylint: Fix linting errors.
Diffstat (limited to 'gn3/auth/authorisation')
-rw-r--r--gn3/auth/authorisation/groups.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/auth/authorisation/groups.py b/gn3/auth/authorisation/groups.py
index ad30763..5290196 100644
--- a/gn3/auth/authorisation/groups.py
+++ b/gn3/auth/authorisation/groups.py
@@ -8,6 +8,7 @@ from . import authorised_p
("create-group",), success_message="Successfully created group.",
error_message="Failed to create group.")
def create_group(conn, group_name):
+ """Create a group"""
with db.cursor(conn) as cursor:
group_id = uuid.uuid4()
cursor.execute(