[issue35889] sqlite3.Row doesn't have useful repr
Erlend E. Aasland
report at bugs.python.org
Tue May 18 15:30:50 EDT 2021
Erlend E. Aasland <erlend.aasland at innova.no> added the comment:
> What about a __repr__ that includes the primary key value(s) (for tables where that is defined)?
I’d rather have that as a Row method, or read-only property. It should be straight-forward to implement. SQLite provides an API for such purposes.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35889>
_______________________________________
More information about the Python-bugs-list
mailing list