]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
handle case where neither side has a cache key
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Feb 2024 13:45:22 +0000 (08:45 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Feb 2024 13:45:22 +0000 (08:45 -0500)
commitd97679e0926b829592bf5962d9dae5f2fe99503f
treee3214c6e58ebaaf70b4aaa18ddfb94acdbbdf1ad
parentd75281a684c72eb76fceaf3973b9ec260ab6b612
handle case where neither side has a cache key

Fixed issue where an assertion within the implementation for
:func:`_orm.with_expression` would raise if a SQL expression that was not
cacheable were used; this was a 2.0 regression since 1.4.

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