about summary refs log tree commit diff
path: root/test/python/test_dev_token.py
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2026-10-04 14:52:57 +0000
committerPjotr <wrk@bosa.lan>2026-10-04 14:52:57 +0000
commitea3633cf3e00047ca3906406c270d9f04acd2241 (patch)
treec2aeb365ee43dd9eb1de2fab201c01921420a833 /test/python/test_dev_token.py
parent5e7870834fc29e707bc7332d83e4c68f05b9b8f7 (diff)
downloadgenenetwork4-ea3633cf3e00047ca3906406c270d9f04acd2241.tar.gz
Add GET /species/{species}/datasets
Lists the expression (ProbeSet) datasets belonging to a species, across
all of its groups -- the species-scoped equivalent of
/groups/{group}/datasets (db::get_species_datasets joins ProbeSetFreeze
through ProbeFreeze and InbredSet to InbredSet.SpeciesId, reusing the
existing Dataset struct). GeneNetwork2's own species-scoped variant of
wqflask.api.router.get_datasets_for_group still requires a group name
(species only disambiguates it); this doesn't.

Not gated on gn-auth, matching its /groups/{group}/datasets sibling:
this returns dataset metadata (names, public/confidentiality flags),
not trait data, unlike the /datasets/{dataset}/probesets family.

tests/species_datasets.rs and its Python mirror cover the mouse-group
and unknown-species cases.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDDpXvZBQat9uSgDeEMJ8d
Diffstat (limited to 'test/python/test_dev_token.py')
0 files changed, 0 insertions, 0 deletions