diff options
author | Frederick Muriuki Muriithi | 2023-02-23 12:37:19 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-02-23 12:37:19 +0300 |
commit | a2cb41430eb9d66f50b83c5b724172cbf90c89a2 (patch) | |
tree | a1a83b7fc5574de8ddf2e6051e076779654498f0 /gn3/db_utils.py | |
parent | c876c9f53018529fed1cb025a085b6e9d37dc3ef (diff) | |
download | genenetwork3-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.py | 2 |
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""" ... |