diff options
author | John Nduli | 2024-08-29 11:21:07 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-08-29 15:34:44 +0300 |
commit | 1cb8b2c3b242522461f7db98008a9e7e882bee9a (patch) | |
tree | 0665211ff3a7dccba507cd7ddf40b5ba176bdc3d /gn3/db | |
parent | 88a6fe43b6e0067b60d871a22cff40e197ab98ac (diff) | |
download | genenetwork3-1cb8b2c3b242522461f7db98008a9e7e882bee9a.tar.gz |
chore: pylint docstring
Diffstat (limited to 'gn3/db')
-rw-r--r-- | gn3/db/wiki.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/db/wiki.py b/gn3/db/wiki.py index f2984af..abb1644 100644 --- a/gn3/db/wiki.py +++ b/gn3/db/wiki.py @@ -10,6 +10,7 @@ class MissingDBDataException(Exception): def get_latest_comment(connection, comment_id: str) -> int: + """ Latest comment is one with the highest versionId """ cursor = connection.cursor(DictCursor) query = """ SELECT versionId AS version, symbol, PubMed_ID AS pubmed_ids, sp.Name AS species, comment, email, weburl, initial, reason |