summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/attributes.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-05-17 15:48:39 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-05-17 15:48:39 -0400
commit93b29aefdcaa736cd180ab3ae31168163e9f0212 (patch)
tree0a47139b16558da859fd78e165ca01a5d6a6dade /lib/sqlalchemy/orm/attributes.py
parentd05319ec7e7868fb09792d07d975c029c178d2d0 (diff)
downloadsqlalchemy-93b29aefdcaa736cd180ab3ae31168163e9f0212.tar.gz
- [feature] Added utility feature
Session.enable_relationship_loading(), supersedes relationship.load_on_pending. Both features should be avoided, however. [ticket:2372]
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
-rw-r--r--lib/sqlalchemy/orm/attributes.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py
index 00d640066..55e0291b5 100644
--- a/lib/sqlalchemy/orm/attributes.py
+++ b/lib/sqlalchemy/orm/attributes.py
@@ -817,7 +817,6 @@ class CollectionAttributeImpl(AttributeImpl):
def append(self, state, dict_, value, initiator, passive=PASSIVE_OFF):
if initiator and initiator.parent_token is self.parent_token:
return
-
collection = self.get_collection(state, dict_, passive=passive)
if collection is PASSIVE_NO_RESULT:
value = self.fire_append_event(state, dict_, value, initiator)