diff options
Diffstat (limited to 'lib/sqlalchemy/orm/query.py')
-rw-r--r-- | lib/sqlalchemy/orm/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/query.py b/lib/sqlalchemy/orm/query.py index bec05a43f..09a3a0f5b 100644 --- a/lib/sqlalchemy/orm/query.py +++ b/lib/sqlalchemy/orm/query.py @@ -691,7 +691,7 @@ class Query(object): proc[0](context, row) for instance in context.identity_map.values(): - context.attributes.get(('populating_mapper', instance), object_mapper(instance))._post_instance(context, instance) + context.attributes.get(('populating_mapper', id(instance)), object_mapper(instance))._post_instance(context, instance) # store new stuff in the identity map for instance in context.identity_map.values(): |