>> not sure what the three get_history sublists are for... > > > (added, unchanged, deleted) = > attributes.get_history(myinstance._state, 'someattribute') > > three lists will never be None unless you call get_history() with > passive=True and lazyload would be needed. in a scalar context, what (added, unchanged, deleted) mean? setattr->added delattr->deleted ? so the old value is (deleted or unchanged)[0]?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---