]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- A tweak to the unit of work causes it to order
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 6 Mar 2011 20:37:18 +0000 (15:37 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 6 Mar 2011 20:37:18 +0000 (15:37 -0500)
commit438c31e6d50b5eb51920429a4ac61e84eed8828d
tree65408954bea7a3482b5e7c72392cff7bfa6ae335
parentba4be3b32b271a5af37cab4e634ffa4c4cf06bd8
- A tweak to the unit of work causes it to order
the flush along relationship() dependencies even if
the given objects don't have any inter-attribute
references in memory, which was the behavior in
0.5 and earlier, so a flush of Parent/Child with
only foreign key/primary key set will succeed.
This while still maintaining 0.6 and above's not
generating a ton of useless internal dependency
structures within the flush that don't correspond
to state actually within the current flush.
[ticket:2082]
CHANGES
lib/sqlalchemy/orm/dependency.py
test/orm/test_unitofworkv2.py