]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add raiseload to load_only()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Sep 2022 16:18:47 +0000 (12:18 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Sep 2022 22:27:28 +0000 (18:27 -0400)
commit9020e104ebc7f4a0a3a44395c558fb0e119c32ee
tree84fc1add2f130f374d23822195a25f53227ea1b6
parente7700b4a887c449f33bb5aaa8dfb96f4c76f2a54
add raiseload to load_only()

currently this can't be finessed in another way,
at least not easily.   The deferred() that it sets up
doesn't seem to be cancellable.  in any case, this is more consistent
API with that of defer().

Change-Id: I30fca1cc371c9102d013cda8e23a522eea1033f8
doc/build/changelog/unreleased_20/load_only_raiseload.rst [new file with mode: 0644]
lib/sqlalchemy/orm/strategy_options.py
test/orm/test_deferred.py