diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-04-27 11:24:41 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-04-28 10:14:09 -0400 |
| commit | 36275b0c2d8d3501bc0023e80d8433c0d54c0d9a (patch) | |
| tree | b558f1d4df1daf6854d013abf13c0200b5c68cd4 /lib/sqlalchemy/sql | |
| parent | cedb11925fc7dd652f479370b59c38324e0e3951 (diff) | |
| download | sqlalchemy-36275b0c2d8d3501bc0023e80d8433c0d54c0d9a.tar.gz | |
Call proxied collection before invoking creator in associationlist.append()
Improved the association proxy list collection so that premature
autoflush against a newly created association object can be prevented
in the case where ``list.append()`` is being used, and a lazy load
would be invoked when the association proxy accesses the endpoint
collection. The endpoint collection is now accessed first before
the creator is invoked to produce the association object.
Change-Id: I008a6dbdfe5b1c0dfd02189c3d954d83a65f3fc5
Fixes: #3941
Diffstat (limited to 'lib/sqlalchemy/sql')
0 files changed, 0 insertions, 0 deletions
