From b0d4aeb29c059c6dea85a7993149fa1e0697f702 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 15 Nov 2022 04:22:17 +0300 Subject: pylint: Fix linting errors. --- gn3/auth/authorisation/groups.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gn3/auth/authorisation/groups.py') 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( -- cgit v1.2.3