- attached sqla-merge.diff
session.merge() doesn't work for objects that are mapped against multiple tables
Issue #236
resolved
If you have an object that is mapped against more than one table, code like
pickledObj = pickle.dumps(obj)
unpickledObj = pickle.loads(pickledObj)
obj2 = session.merge(unpickledObj)
fails with an error because too many arguments are being passed to the {{{session.get()}}} function.
Comments (3)
-
Account Deleted -
Account Deleted - attached merge.py
session.merge() test case
-
repo owner - changed status to resolved
patched this in changeset:1702
- Log in to comment
Patch to fix the problem