diff options
author | Munyoki Kilyungi | 2024-09-12 18:47:03 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-09-12 18:50:25 +0300 |
commit | 6e23a22c4a60c9238b23d38f586f3de2aa9048f9 (patch) | |
tree | c1ee1ef15614aa3325a6bd2c861cea0f141d5d21 /gn3/api/metadata_api/wiki.py | |
parent | 82e5a814b5e0e855c467aa30d773d0927f0520ec (diff) | |
download | genenetwork3-6e23a22c4a60c9238b23d38f586f3de2aa9048f9.tar.gz |
Fix pylint errors.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api/metadata_api/wiki.py')
-rw-r--r-- | gn3/api/metadata_api/wiki.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/metadata_api/wiki.py b/gn3/api/metadata_api/wiki.py index 9ea0d53..6436f3d 100644 --- a/gn3/api/metadata_api/wiki.py +++ b/gn3/api/metadata_api/wiki.py @@ -5,7 +5,6 @@ from typing import Any, Dict from flask import Blueprint, request, jsonify, current_app, make_response from gn3 import db_utils from gn3.db import wiki -from gn3.db.rdf import query_frame_and_compact from gn3.db.rdf.wiki import (get_wiki_entries_by_symbol, get_comment_history) @@ -121,6 +120,7 @@ def get_species(): @wiki_blueprint.route("/<int:comment_id>/history", methods=["GET"]) def get_history(comment_id): + """Fetch all of a given comment's history given it's comment id""" status_code = 200 response = get_comment_history(comment_id=comment_id, sparql_uri=current_app.config["SPARQL_ENDPOINT"]) |