aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-07-30 08:29:38 +0300
committerMuriithi Frederick Muriuki2021-07-30 08:29:38 +0300
commitc4f362d9a9b83f4fc6fadde0989663dd34fb0b07 (patch)
tree1bd75a20f0443143d806a8364d6f99b711d3d20e /sql
parent75ba10b9f7e8c5c7fabbd0f4134a1475cc180ae1 (diff)
downloadgenenetwork3-c4f362d9a9b83f4fc6fadde0989663dd34fb0b07.tar.gz
Return dict from query functions
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * gn3/db/traits.py: return dicts rather than tuples/list * tests/unit/db/test_traits.py: Update tests Return dicts with the key-value pairs set up so as to ease with the data manipulation down the pipeline. This is also useful to help with the retrieval of all other extra information that was left out in the first iteration. This commit also updates the tests by ensuring they expect dicts rather than tuples.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions