diff options
author | Muriithi Frederick Muriuki | 2021-07-30 08:29:38 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-07-30 08:29:38 +0300 |
commit | c4f362d9a9b83f4fc6fadde0989663dd34fb0b07 (patch) | |
tree | 1bd75a20f0443143d806a8364d6f99b711d3d20e /.dir-locals.el | |
parent | 75ba10b9f7e8c5c7fabbd0f4134a1475cc180ae1 (diff) | |
download | genenetwork3-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 '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions