summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/mapping
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/mapping')
-rw-r--r--lib/sqlalchemy/mapping/mapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/mapping/mapper.py b/lib/sqlalchemy/mapping/mapper.py
index 82257ae62..1efdb649a 100644
--- a/lib/sqlalchemy/mapping/mapper.py
+++ b/lib/sqlalchemy/mapping/mapper.py
@@ -998,8 +998,8 @@ class MapperExtension(object):
Essentially, this method is used to have a different mapper populate the object:
- def populate_instance(self, mapper, *args):
- othermapper.populate_instance(*args)
+ def populate_instance(self, mapper, instance, row, identitykey, imap, isnew):
+ othermapper.populate_instance(instance, row, identitykey, imap, isnew, frommapper=mapper)
return False
"""
if self.next is None: