]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor(pool): add Worker/AWorker type aliases
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 5 Oct 2023 00:57:08 +0000 (02:57 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 11 Oct 2023 21:45:39 +0000 (23:45 +0200)
commit17d7b81f5573556edca1cecd9639c1efa4fed64d
tree440a199307c22df9178e678b2b8d57e322a65d68
parent20e2d02a17d95ebe4f0d26d842c2e6ee288c6c7e
refactor(pool): add Worker/AWorker type aliases

With these we don't have direct dependencies on the asyncio and
threading modules in the pool classes.
psycopg_pool/psycopg_pool/_acompat.py
psycopg_pool/psycopg_pool/pool.py
psycopg_pool/psycopg_pool/pool_async.py