Jules Stevenson wrote: > Worked it out, sorry for the noise. > > self.task = self.Session.merge(self.task)
if you've already expunged self.task from elsewhere, its probably more direct to just add() it to the local session. Also consider the "dont_load=True" flag to merge() which would prevent it from issuing a second SELECT for the row. > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to sqlalch...@googlegroups.com. > To unsubscribe from this group, send email to > sqlalchemy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. > > >
-- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.