]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixed typing issues with sync code runners
authorFrancisco R. Del Roio <francipvb@hotmail.com>
Sun, 25 Feb 2024 19:37:27 +0000 (14:37 -0500)
committerMichael Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Mar 2024 17:06:41 +0000 (17:06 +0000)
commit3eaff251bfffc628d15058fbc3e333f35213fad2
tree19d09529e9e5e6e9de585025b220ed907bf1db43
parent985193c407ffb891c8eed042fac6f9547a34d694
Fixed typing issues with sync code runners

Fixed typing issue allowing asyncio ``run_sync()`` methods to correctly
type the parameters according to the callable that was passed, making use
of :pep:`612` ``ParamSpec`` variables.  Pull request courtesy Francisco R.
Del Roio.

Closes: #11055
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11055
Pull-request-sha: 712b4382b16e4c07c09ac40a570c4bfb76c28161

Change-Id: I94ec8bbb0688d6c6e1610f8f769abab550179c14
doc/build/changelog/unreleased_20/11055.rst [new file with mode: 0644]
lib/sqlalchemy/ext/asyncio/engine.py
lib/sqlalchemy/ext/asyncio/session.py
test/typing/plain_files/ext/asyncio/async_sessionmaker.py
test/typing/plain_files/ext/asyncio/engines.py