aboutsummaryrefslogtreecommitdiff
path: root/scripts/rqtl2/entry.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-02 05:17:50 +0300
committerFrederick Muriuki Muriithi2024-02-02 05:17:50 +0300
commit2b8fd63af18e70b4c8c20a34a6dfa041e8a832b9 (patch)
tree26276f08f6059e0b649a7ab55511622c93203a14 /scripts/rqtl2/entry.py
parent07deef46a3f3ba53cc632a9381fb25c55e1017b1 (diff)
downloadgn-uploader-2b8fd63af18e70b4c8c20a34a6dfa041e8a832b9.tar.gz
Bug: Specify DictCursor class to return dict-like result
Without specifying the `cursorclass`, the result is a tuple of the form: ((query_col01_val, query_col02_val, ...), ...) where the ellipsis specify the possibility of more than one of the previous form. We specify the DictCursor class instead so that the form changes to: ({query_col01_name: query_col01_val, ...}, ...) which allows us to pick the value we want with a string index.
Diffstat (limited to 'scripts/rqtl2/entry.py')
0 files changed, 0 insertions, 0 deletions