]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add asyncio.gather() example; add connection opts
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Sep 2021 12:58:06 +0000 (08:58 -0400)
committermike bayer <mike_mp@zzzcomputing.com>
Thu, 2 Sep 2021 14:19:20 +0000 (14:19 +0000)
commitd640192877e4d1da75e8dea34d2374c404e80538
tree9bb87b162c50ad6385949bc47369388752f020f5
parentbf1fe670513abeb1596bc5266f50db1ffe62f3bd
add asyncio.gather() example; add connection opts

while I dont like this approach very much, people will likely
be asking for it a lot, so represent the most correct and
efficient form we can handle right now.

Added missing ``**kw`` arguments to the
:meth:`_asyncio.AsyncSession.connection` method.

Change-Id: Idadae2a02a4d96ecb96a5723ce64d017ab4c6217
References: https://github.com/sqlalchemy/sqlalchemy/discussions/6965
doc/build/changelog/unreleased_14/async_conn.rst [new file with mode: 0644]
examples/asyncio/gather_orm_statements.py [new file with mode: 0644]
lib/sqlalchemy/ext/asyncio/session.py
test/ext/asyncio/test_session_py3k.py