]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
move mapper-level UOW functionality straight into unitofwork also. there's
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 14 Jul 2012 16:52:21 +0000 (12:52 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 14 Jul 2012 16:52:21 +0000 (12:52 -0400)
commit9cab0f1f16a5f5e3b9dff9216911e244ce793544
treee3dcb6a704d67885a5cbb8725586dada397ea8e4
parent3eaedb38d306095c683900e7e4625be7f7bc91d2
move mapper-level UOW functionality straight into unitofwork also.   there's
no need for this to be per-mapper.   can't move dependency init
off of property though as this init needs to happen up front, added a test
to prove it.
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/unitofwork.py
test/aaa_profiling/test_zoomark_orm.py
test/orm/test_naturalpks.py