]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add caveat re: with_expression and already-loaded object
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Sep 2020 18:47:03 +0000 (14:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Sep 2020 18:57:37 +0000 (14:57 -0400)
commit3e58122bdd815b5677b35efc176eda1625e8b37e
tree739f79178d945d13edccf06fdca3f47aa4707c9d
parentc352a2c52d8683b7ad953bd067678e3f1c7f2724
Add caveat re: with_expression and already-loaded object

Adds a test for the populate_existing() behavior as well.

Fixes: #5553
Change-Id: Ib0db6227c3fec7d0065f2a7caa36b3fd94ef14fd
(cherry picked from commit b050169600019ef249a8b315e7435c752623c900)
doc/build/orm/mapped_sql_expr.rst
lib/sqlalchemy/orm/strategy_options.py
test/orm/test_deferred.py