]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve from_select typing
authorFederico Caselli <cfederico87@gmail.com>
Mon, 27 Mar 2023 20:03:44 +0000 (22:03 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Mar 2023 23:46:09 +0000 (19:46 -0400)
commit2dc24ced0e94c50623aab41c75e42883d68a846a
tree30976c74974e49e60a5917cff8d547f2a2b46003
parentc7ce7ff0225fe0ddaf63f0706429b885410de365
Improve from_select typing

Properly type :paramref:`_dml.Insert.from_select.names` to accept
a list of string or columns or mapped attributes.
Fixes: #9514
Change-Id: I2a3396454e79bd2113fc3d57d1252a2e6d141310
doc/build/changelog/unreleased_20/9514.rst [new file with mode: 0644]
lib/sqlalchemy/sql/dml.py
test/ext/mypy/plain_files/dml.py