Catherine Devlin wrote: > (['Eduardo Jones'], (), [u'Ed Jones']) >>>> # so far so good >>>> print sqlalchemy.orm.attributes.get_history(ed.userview, 'name') > ((), [u'ed'], ()) >>>> print sqlalchemy.orm.attributes.get_history(ed, 'fullname') > ((), ['Eduardo Jones'], ()) > > ... now get_history thinks fullname has always been Eduardo Jones. > > Is this a bug I should file, or something I should have expected?
I'm going to say that "ed.userview" did a lazy load and triggered an autoflush. the autoflush will reset the attributes back to "unchanged" so that is expected. --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---