]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: set cursor result in _maybe_prepare_gen() 480/head
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 24 Jan 2023 15:18:24 +0000 (16:18 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 4 Feb 2023 11:16:29 +0000 (12:16 +0100)
commit6286e390e44e5914f5885372048129ada12bde6a
tree08611d506d4158b16276cbe9684a778d3a6aa0a7
parent0123f15ccd44fc7b0101167f28a0b3a7aba96398
refactor: set cursor result in _maybe_prepare_gen()

When not in pipeline mode, we can actually set the results on the cursor
directly in this method instead of letting the caller handle this.
psycopg/psycopg/cursor.py