]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
accommodate for untracked boundparam lambda in offline_string
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Aug 2021 23:17:07 +0000 (19:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Aug 2021 23:19:02 +0000 (19:19 -0400)
commit3729a070d23421c94239bd24520592287476fdde
tree730dc7940da32e1f4b1b866c7956127c0f59ea6d
parentb75630cec9418ef087e7c6af0370ac6ba728a251
accommodate for untracked boundparam lambda in offline_string

Fixed an issue in the ``CacheKey.to_offline_string()`` method used by the
dogpile.caching example where attempting to create a proper cache key from
the special "lambda" query generated by the lazy loader would fail to
include the parameter values, leading to an incorrect cache key.

Fixes: #6858
Change-Id: Ice27087583c6f3ff79cf7d5b879e5dd0a4e58158
doc/build/changelog/unreleased_14/6858.rst [new file with mode: 0644]
examples/dogpile_caching/caching_query.py
lib/sqlalchemy/sql/traversals.py
test/sql/test_lambdas.py