diff options
author | Frederick Muriuki Muriithi | 2024-09-24 10:31:48 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-24 10:31:48 -0500 |
commit | 03b2ee98a1a2da648684e5a1a02c7f8c5b45ddd8 (patch) | |
tree | bcae66f84c3e953bcc4967bcd1237ccb792526cc /uploader/platforms | |
parent | f74c89feb2bef25225cc8d534129480abdc3c594 (diff) | |
download | gn-uploader-03b2ee98a1a2da648684e5a1a02c7f8c5b45ddd8.tar.gz |
typing: Fix type errors
Diffstat (limited to 'uploader/platforms')
-rw-r--r-- | uploader/platforms/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/platforms/models.py b/uploader/platforms/models.py index adad0b2..4b690bb 100644 --- a/uploader/platforms/models.py +++ b/uploader/platforms/models.py @@ -13,7 +13,7 @@ def platforms_by_species( """Retrieve platforms by the species""" _query = ("SELECT * FROM GeneChip WHERE SpeciesId=%s " "ORDER BY GeneChipName ASC") - if bool(limit) and limit > 0: + if bool(limit) and limit > 0:# type: ignore[operator] _query = f"{_query} LIMIT {limit} OFFSET {offset}" with conn.cursor(cursorclass=DictCursor) as cursor: cursor.execute(_query, (speciesid,)) |