]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Propagate asyncio flag from the dialect to selected pool classes
authorFederico Caselli <cfederico87@gmail.com>
Thu, 3 Jun 2021 20:38:15 +0000 (22:38 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 8 Jun 2021 20:02:42 +0000 (22:02 +0200)
commitd200ba26a0f5b8542ec258d2fcfe0b53a80af42c
tree38c6a9f72da15d6c496f1e24f621c3a78ee3e863
parentdd5d6d15467b66398dd328ff43b863a057899291
Propagate asyncio flag from the dialect to selected pool classes

Fixed an issue that presented itself when using the :class:`_pool.NullPool`
or the :class:`_pool.StaticPool` with an async engine. This mostly affected
the aiosqlite dialect.

Fixes: #6575
Change-Id: Ic1e27d99ffcb20ed4de82ea78f430a0f3b629d86
doc/build/changelog/unreleased_14/6575.rst [new file with mode: 0644]
lib/sqlalchemy/pool/base.py
lib/sqlalchemy/pool/impl.py
lib/sqlalchemy/util/langhelpers.py
test/engine/test_pool.py
test/ext/asyncio/test_engine_py3k.py