From 1cb8b2c3b242522461f7db98008a9e7e882bee9a Mon Sep 17 00:00:00 2001 From: John Nduli Date: Thu, 29 Aug 2024 11:21:07 +0300 Subject: chore: pylint docstring --- gn3/db/wiki.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3