diff options
author | Munyoki Kilyungi | 2024-08-29 22:32:35 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-09-05 16:39:14 +0300 |
commit | ea1880d48734b271172497fc205ba7f28706ba2a (patch) | |
tree | 10772578bf996c6746d7ac86010c7702e8dd68e9 /gn3/api/metadata_api/wiki.py | |
parent | 1cb8b2c3b242522461f7db98008a9e7e882bee9a (diff) | |
download | genenetwork3-ea1880d48734b271172497fc205ba7f28706ba2a.tar.gz |
Restructure RDF module.
* gn3/api/metadata.py: Import constants from gn3.db.rdf
* gn3/api/metadata_api/wiki.py: Ditto. Import
"get_wiki_entries_by_symbol" from gn3.db.rdf.wiki.
* gn3/db/constants.py: Delete file and move all constants ...
* gn3/db/rdf.py: ... and functions ...
* gn3/db/rdf/__init__.py: ... here.
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/metadata_api/wiki.py b/gn3/api/metadata_api/wiki.py index a4abef6..b9942a0 100644 --- a/gn3/api/metadata_api/wiki.py +++ b/gn3/api/metadata_api/wiki.py @@ -5,8 +5,8 @@ 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, - get_wiki_entries_by_symbol) +from gn3.db.rdf import query_frame_and_compact +from gn3.db.rdf.wiki import get_wiki_entries_by_symbol wiki_blueprint = Blueprint("wiki", __name__, url_prefix="wiki") |