]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(pool): make opening an async connection pool in the constructor a runtime warning
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 16 Feb 2024 13:02:17 +0000 (14:02 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 17 Feb 2024 23:26:24 +0000 (00:26 +0100)
commitd44ee8fc7789ea536c18effa7f294c0536d428eb
tree30a745383c0c4fb9e18d9eb0166e2b1ab08b2dda
parentef6941df5b94997f79b429347c5d9b84e600bdd3
fix(pool): make opening an async connection pool in the constructor a runtime warning

Deprecation warnings are ignored by default and easy to miss.

Close #737.
docs/news_pool.rst
psycopg_pool/psycopg_pool/pool_async.py
tests/pool/test_pool_async_noasyncio.py
tests/pool/test_pool_common.py
tests/pool/test_pool_common_async.py