]> git.ipfire.org Git - thirdparty/psycopg.git/commit
exec generator split in send and receive
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 11 Apr 2020 15:41:11 +0000 (03:41 +1200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 11 Apr 2020 15:41:11 +0000 (03:41 +1200)
commit83be6d2ca85df3182607e87819639db4bb3e4c01
tree5e7002ea6be24d8e0557e2b7ef8ef140b106fc18
parent1eac15167c0a70844f0b86c8c87f77dbde947b89
exec generator split in send and receive

It was actually not needed: I thought erroneously that sending prepared
statements only needed the send bit. However the change is ok and could
also clean up the types around these generator adding a generic PQGen[]
type (with different return values).
psycopg3/connection.py
psycopg3/cursor.py
psycopg3/generators.py
psycopg3/waiting.py