]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Update type annotations for loading options
authorJanek Nouvertné <25355197+provinzkraut@users.noreply.github.com>
Wed, 16 Aug 2023 15:01:39 +0000 (11:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Sep 2023 17:31:40 +0000 (13:31 -0400)
commit9071f7d53954e3f6d198df1ef7edbb12ba564764
treef6f1d543c2bd07157688b320ae207f8537efb228
parentf662dfc9d93f89ec16f87348ccf34af3b3d684da
Update type annotations for loading options

Update type annotations for ORM loading options, restricting them to accept
only `"*"` instead of any string for string arguments.  Pull request
courtesy Janek Nouvertné.

Fixes: #10131
Closes: #10133
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10133
Pull-request-sha: 08793ed5bfbffbc8688a2573f021e834fc7de367

Change-Id: I33bb93d36cd1eb9d8c7390ed0e94a784e0b8af46
doc/build/changelog/unreleased_20/10131.rst [new file with mode: 0644]
lib/sqlalchemy/orm/path_registry.py
lib/sqlalchemy/orm/strategy_options.py
test/typing/plain_files/orm/orm_querying.py