]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: use typing.Self
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 30 Dec 2023 00:30:39 +0000 (01:30 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 30 Dec 2023 02:19:52 +0000 (03:19 +0100)
commite4adfe6be4cf220f8d4708837234a222d27393e0
tree88bbfb368370a2246d8c3c2b31faf51b26f8b822
parent0bf2f237890abca5bd5d38cecc293342e6355dc0
refactor: use typing.Self

The object seems available for all the supported Python version and
should avoid problems with PyRight (see #708).

It is not a solution for #308 because we cannot use `Self[Row]`.
docs/news_pool.rst
psycopg_pool/psycopg_pool/_compat.py
psycopg_pool/psycopg_pool/pool.py
psycopg_pool/psycopg_pool/pool_async.py
psycopg_pool/setup.cfg