diff options
author | Frederick Muriuki Muriithi | 2025-02-26 13:35:49 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-02-26 13:35:49 -0600 |
commit | 1a9b87f34f84107d0ede098b6c5f276a2d47ef39 (patch) | |
tree | 0de97e000ba5727437a4a563c289da7829db422c /gn_auth/auth/authorisation/data | |
parent | d35b73fb0924ebf1f1e43f42eba0f8fe9bfd6dc8 (diff) | |
download | gn-auth-1a9b87f34f84107d0ede098b6c5f276a2d47ef39.tar.gz |
Fix pylint errors.
Diffstat (limited to 'gn_auth/auth/authorisation/data')
-rw-r--r-- | gn_auth/auth/authorisation/data/genotypes.py | 2 | ||||
-rw-r--r-- | gn_auth/auth/authorisation/data/mrna.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gn_auth/auth/authorisation/data/genotypes.py b/gn_auth/auth/authorisation/data/genotypes.py index 7cae91a..ddb0add 100644 --- a/gn_auth/auth/authorisation/data/genotypes.py +++ b/gn_auth/auth/authorisation/data/genotypes.py @@ -22,7 +22,7 @@ def linked_genotype_data(conn: authdb.DbConnection) -> Iterable[dict]: "You do not have sufficient privileges to link data to (a) " "group(s)."), oauth2_scope="profile group resource") -def ungrouped_genotype_data(# pylint: disable=[too-many-arguments] +def ungrouped_genotype_data(# pylint: disable=[too-many-arguments, too-many-positional-arguments] authconn: authdb.DbConnection, gn3conn: gn3db.Connection, search_query: str, selected: tuple[dict, ...] = tuple(), limit: int = 10000, offset: int = 0) -> tuple[ diff --git a/gn_auth/auth/authorisation/data/mrna.py b/gn_auth/auth/authorisation/data/mrna.py index 82a0f82..0cc644e 100644 --- a/gn_auth/auth/authorisation/data/mrna.py +++ b/gn_auth/auth/authorisation/data/mrna.py @@ -22,7 +22,7 @@ def linked_mrna_data(conn: authdb.DbConnection) -> Iterable[dict]: "You do not have sufficient privileges to link data to (a) " "group(s)."), oauth2_scope="profile group resource") -def ungrouped_mrna_data(# pylint: disable=[too-many-arguments] +def ungrouped_mrna_data(# pylint: disable=[too-many-arguments, too-many-positional-arguments] authconn: authdb.DbConnection, gn3conn: gn3db.Connection, search_query: str, selected: tuple[dict, ...] = tuple(), limit: int = 10000, offset: int = 0) -> tuple[ |