From 6e23a22c4a60c9238b23d38f586f3de2aa9048f9 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 12 Sep 2024 18:47:03 +0300 Subject: Fix pylint errors. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata_api/wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/api/metadata_api/wiki.py') 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("//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"]) -- cgit v1.2.3