Uh oh!
There was an error while loading. Please reload this page.
gh-96168: Improve sqlite3 dict_factory example - #96457
Conversation
- use dict comprehension - use doctest iso. testcode, for visualising the effect of the row factory - SELECT with multiple columns, so the effect of the row factory becomes clearer
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
CAM-Gerlach
left a comment
There was a problem hiding this comment.
A couple minor comments, otherwise LGTM 👍 It looks a lot clearer to me than before, as well as more testable, concise and following more modern coding practices.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
erlend-aasland
commented
Sep 1, 2022
Thanks for the reviews, CAM & Ezio! |
miss-islington
commented
Sep 1, 2022
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
bedevere-bot
commented
Sep 1, 2022
GH-96494 is a backport of this pull request to the 3.11 branch. |
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 91f40f3) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
bedevere-bot
commented
Sep 1, 2022
GH-96495 is a backport of this pull request to the 3.10 branch. |
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 91f40f3) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
effect of the row factory
the row factory becomes clearer