diff options
author | Munyoki Kilyungi | 2023-11-13 12:45:59 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-11-27 12:29:25 +0300 |
commit | acf6270d55a15a6773ceed6182fd76bf93263e77 (patch) | |
tree | d50ae7946e7085162b6b05c9e3a2a3b40ceeea4e /gn3/api | |
parent | 7fae9a60611013243135d73d70055377f23875e1 (diff) | |
download | genenetwork3-acf6270d55a15a6773ceed6182fd76bf93263e77.tar.gz |
First fram and compact the jsonld results during dataset search.
* gn3/api/metadata.py (search_datasets): Replace query_and_frame with
query_frame_and_compact.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index 5fdbcac..bf04389 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -312,7 +312,7 @@ CONSTRUCT { "@context": BASE_CONTEXT | DATASET_SEARCH_CONTEXT, "type": "resultItem", } - return query_and_frame( + return query_frame_and_compact( _query, _context, current_app.config.get("SPARQL_ENDPOINT") ) |