From 301a7a3de96cee0afb5e1c1a9d82c412da5658bc Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 26 Aug 2024 13:09:54 +0300 Subject: Fix pylint errors. * gn3/api/metadata.py: Remove duplicate imports. * gn3/db/constants.py: Add docstring. * gn3/db/rdf.py (get_wiki_entries_by_symbol): Remove duplicate dictionary key. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gn3/api') diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index f51616e..4ce32e0 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -16,13 +16,12 @@ from gn3.auth.authorisation.errors import AuthorisationError from gn3.db.datasets import (retrieve_metadata, save_metadata, get_history) -from gn3.db.rdf import RDF_PREFIXES from gn3.db.rdf import (query_frame_and_compact, query_and_compact, get_wiki_entries_by_symbol) from gn3.db.constants import ( RDF_PREFIXES, BASE_CONTEXT, - DATASET_CONTEXT, SEARCH_CONTEXT, + DATASET_CONTEXT, DATASET_SEARCH_CONTEXT, PUBLICATION_CONTEXT, PHENOTYPE_CONTEXT ) -- cgit v1.2.3