]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: use a more generic connection type in {Client,Server}Cursor
authorDenis Laxalde <denis@laxalde.org>
Sun, 15 May 2022 12:28:36 +0000 (14:28 +0200)
committerDenis Laxalde <denis@laxalde.org>
Thu, 19 May 2022 17:42:12 +0000 (19:42 +0200)
commit1fe058c7bfabce6fd26fb6534afe8a30d42ba242
treedecdfdfa833b27eeaf6a84f3956ad6dc33d59730
parentde690b5518157b4049b94e7b6f9ef7c36b3aedee
fix: use a more generic connection type in {Client,Server}Cursor

This makes them similar to plain Cursor class, i.e. being parametrized
on sync or async connection type, not the row type (which is handled
through the second type variable).
psycopg/psycopg/client_cursor.py
psycopg/psycopg/server_cursor.py