]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
user_defined_options returns memoized options
authorFederico Caselli <cfederico87@gmail.com>
Tue, 19 May 2026 21:39:49 +0000 (23:39 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 21 May 2026 21:14:17 +0000 (23:14 +0200)
commit68e982ad9de3c2300ea1927c099e3489b5baa6bc
tree421e2eae71a65e41232f9161f07ed224fb4a3e95
parentee9c8625bad11f4dedfa2a610914cebdcf55fec7
user_defined_options returns memoized options

Updated the attribute :attr:`_orm.ORMExecuteState.user_defined_options` to
include options that were added to the statement before calling
:meth:`.Select.with_only_columns` or :meth:`_orm.Query.with_entities`.

Fixes: #13309
Change-Id: Ie6e3f46662542010f4d524820ae697638f36d459
doc/build/changelog/unreleased_21/13309.rst [new file with mode: 0644]
lib/sqlalchemy/orm/session.py
test/orm/test_events.py