]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Avoid repeating the default row_factory in Connection methods
authorDenis Laxalde <denis.laxalde@dalibo.com>
Wed, 21 Apr 2021 07:59:39 +0000 (09:59 +0200)
committerDenis Laxalde <denis.laxalde@dalibo.com>
Mon, 26 Apr 2021 14:00:59 +0000 (16:00 +0200)
commit141cb37cdf4f151e2e20c4b11ed86465ab7de79c
treeaf533891ae6d2c46e93822c3161739ea421b173c
parent5478e96f9f712112ed49a507ce29c164939eefc7
Avoid repeating the default row_factory in Connection methods

We set the default row_factory argument value to None in connect()
methods and use row_factory class attribute when unspecified, thus
avoiding repetition of the 'tuple_row' value.
psycopg3/psycopg3/connection.py