aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-19 15:59:26 +0300
committerFrederick Muriuki Muriithi2023-04-19 15:59:26 +0300
commit2a7e8b7ffdf260a643c7fcd615c8982d3268347f (patch)
treed72d9dea462afae3d4e42f79d0ccd26cf7ef96f3 /gn3/auth
parent9a0c6fd1759e13fa7a934852f87e9aa4c62d7dfd (diff)
downloadgenenetwork3-2a7e8b7ffdf260a643c7fcd615c8982d3268347f.tar.gz
Fix minor linting and typing issues
Diffstat (limited to 'gn3/auth')
-rw-r--r--gn3/auth/authorisation/data/phenotypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/auth/authorisation/data/phenotypes.py b/gn3/auth/authorisation/data/phenotypes.py
index db16699..a330d4a 100644
--- a/gn3/auth/authorisation/data/phenotypes.py
+++ b/gn3/auth/authorisation/data/phenotypes.py
@@ -18,7 +18,7 @@ def linked_phenotype_data(
linked = tuple(tuple(row[key] for key in authkeys)
for row in authcursor.fetchall())
if len(linked) <= 0:
- return (item for item in tuple())
+ return iter(())
paramstr = "".join(["(%s, %s, %s, %s)"] * len(linked))
query = (
"SELECT spc.SpeciesId, spc.SpeciesName, iset.InbredSetId, "