aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-26 13:09:54 +0300
committerBonfaceKilz2024-08-26 15:35:33 +0300
commit301a7a3de96cee0afb5e1c1a9d82c412da5658bc (patch)
tree2fd9c5ab4e198fb866a1d0280d657200045dfdf8 /gn3/api
parent12f8be8cda5e877dcd17ea6defea94daf1cb76e1 (diff)
downloadgenenetwork3-301a7a3de96cee0afb5e1c1a9d82c412da5658bc.tar.gz
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 <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/metadata.py3
1 files changed, 1 insertions, 2 deletions
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
)