]> 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)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Mar 2024 15:48:00 +0000 (11:48 -0400)
commit07b8c4ba5655c5b95bd839732a291707654bf113
treee3be2286321fd08702690823803ac54a5e1ff2f9
parent46587c16e132278a3c76ff23ca020a33f569a9d2
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
(cherry picked from commit b687624f63b8613f3c487866292fa88f763c79ee)
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