diff options
author | Munyoki Kilyungi | 2022-11-23 12:19:02 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-11-23 12:47:39 +0300 |
commit | d0d08d513e403f7836da450a1d05eaeb89a5ba30 (patch) | |
tree | c37e42a2c0b1893fd90eb0282257351beb680f2b /tests/unit/db/test_traits.py | |
parent | a93e8cc48815bd7e9b64c634ad808ddbfa85cd4b (diff) | |
download | genenetwork3-d0d08d513e403f7836da450a1d05eaeb89a5ba30.tar.gz |
Create a new REST endpoint for fetching a phenotype's metadata
* gn3/api/general.py: (dataset_metadata) Delete.
* gn3/api/metadata.py: Import Blueprint, jsonify, current_app,
SPARQLWrapper and get_dataset_metadata.
(metadata): New Blueprint
(jsonify_dataset_metadata): New function/end-point.
* gn3/app.py: Import metadata
(create_app): Register metadata blueprint.
Diffstat (limited to 'tests/unit/db/test_traits.py')
0 files changed, 0 insertions, 0 deletions