]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- remove the need to use LoadDeferredColumns, LoadLazyAttribute in most cases,
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Dec 2010 02:08:26 +0000 (21:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Dec 2010 02:08:26 +0000 (21:08 -0500)
commitf7f6fbede5b407b954ce20f9b55f7a02c4152aa9
treee6a2fc172a6fe70ddcee8e4db3b39e264a19e2f8
parentcd48a93318061c67572cffbe3d9f883d7326af8a
- remove the need to use LoadDeferredColumns, LoadLazyAttribute in most cases,
these are back to being part of LoaderStrategy
- simplify attribute.get()
- inline the dict get inside of attribute.__get__()
- revert some memoized attrs from InstanceState which are called in almost
all cases regardless
- inlining
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/identity.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/state.py
lib/sqlalchemy/orm/strategies.py
test/aaa_profiling/test_orm.py
test/orm/test_attributes.py
test/orm/test_extendedattr.py