aboutsummaryrefslogtreecommitdiff
path: root/gn3/db_utils.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-02-23 12:37:19 +0300
committerFrederick Muriuki Muriithi2023-02-23 12:37:19 +0300
commita2cb41430eb9d66f50b83c5b724172cbf90c89a2 (patch)
treea1a83b7fc5574de8ddf2e6051e076779654498f0 /gn3/db_utils.py
parentc876c9f53018529fed1cb025a085b6e9d37dc3ef (diff)
downloadgenenetwork3-a2cb41430eb9d66f50b83c5b724172cbf90c89a2.tar.gz
auth: Link data in MySQL to the groups (in SQLite)
In order for the group leaders (and other resource creators) to be able to link data to the resources, the data needs to be first linked to the relevant group. This commit enables the system admin to link the data in MySQL to the groups.
Diffstat (limited to 'gn3/db_utils.py')
-rw-r--r--gn3/db_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db_utils.py b/gn3/db_utils.py
index 23a570b..ad934d7 100644
--- a/gn3/db_utils.py
+++ b/gn3/db_utils.py
@@ -28,7 +28,7 @@ def database_connector() -> mdb.Connection:
# pylint: disable=missing-class-docstring, missing-function-docstring, too-few-public-methods
class Connection(Protocol):
"""Type Annotation for MySQLdb's connection object"""
- def cursor(self) -> Any:
+ def cursor(self, *args) -> Any:
"""A cursor in which queries may be performed"""
...