aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/diff.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-26 12:42:55 +0300
committerBonfaceKilz2024-08-26 15:35:33 +0300
commit852de97b222ddf914ec404dfdb7d9a4965dd7d7f (patch)
treed93ccf079adcc1f5e4f9a44b49a20694a26689db /gn3/computations/diff.py
parent5d0b1033f6f75e7a67226a57762e7a5c73d722a2 (diff)
downloadgenenetwork3-852de97b222ddf914ec404dfdb7d9a4965dd7d7f.tar.gz
If there's no data, return a 404.
* gn3/api/metadata.py (get_wiki_entries): Return an empty {} when there's no data. * gn3/db/rdf.py (query_frame_and_compact): Delete check for empty results. Instead just return the context as is. (query_and_compact): Ditto. (query_and_frame): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/computations/diff.py')
0 files changed, 0 insertions, 0 deletions