diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-04 10:55:46 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-04 10:55:46 -0500 |
commit | 848a56ea57154c65943d1efd278c78e36500fb28 (patch) | |
tree | d6cff23205e8463c7e20b0c6367c7ead573628ee /lib/sqlalchemy/orm/unitofwork.py | |
parent | 6e023b16653b0a2e355a1858d57ff01d38ab05dc (diff) | |
download | sqlalchemy-848a56ea57154c65943d1efd278c78e36500fb28.tar.gz |
- Fixed bug whereby "passive_deletes='all'" wasn't passing
the correct symbols to lazy loaders during flush, thereby
causing an unwarranted load. [ticket:2013]
Diffstat (limited to 'lib/sqlalchemy/orm/unitofwork.py')
-rw-r--r-- | lib/sqlalchemy/orm/unitofwork.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/unitofwork.py b/lib/sqlalchemy/orm/unitofwork.py index f1c5fcfc6..07c9c2b6d 100644 --- a/lib/sqlalchemy/orm/unitofwork.py +++ b/lib/sqlalchemy/orm/unitofwork.py @@ -149,7 +149,7 @@ class UOWTransaction(object): self.states[state] = (isdelete, True) - def get_attribute_history(self, state, key, passive=True): + def get_attribute_history(self, state, key, passive=attributes.PASSIVE_NO_INITIALIZE): """facade to attributes.get_state_history(), including caching of results.""" hashkey = ("history", state, key) |