]> 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 14:10:59 +0000 (09:10 -0500)
commit07258583942ae76cd2291bfee37ad63f249ac86a
tree68058f5a99046001d4783e8b0304d7b7109d9094
parent2d1997d6dac044868013eada4025f9022b691d4a
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
(cherry picked from commit d97679e0926b829592bf5962d9dae5f2fe99503f)
doc/build/changelog/unreleased_20/10990.rst [new file with mode: 0644]
lib/sqlalchemy/orm/strategy_options.py
test/orm/test_deferred.py