Hacker News new | ask | show | jobs
by ttyprintk 692 days ago
For that, you might as well conn.row_factory = sqlite3.Row
1 comments

That would be a better option, as long as the goal isn’t to demonstrate how namedtuples or dataclasses work.