[sqlalchemy] delete attributes of last flush or commit in a MapperExtension already executed

2010-07-13 Thread sacabuche
I was trying to get the last value before_insert a new item but i didn't find out, so i change of strategy and i saved the last value of this method, but the problem is that when i do other commits my old MapperExtension attribute (self.last_value) get the last value and i dislike it, even when I

Re: [sqlalchemy] delete attributes of last flush or commit in a MapperExtension already executed

2010-07-13 Thread Michael Bayer
On Jul 13, 2010, at 10:21 AM, sacabuche wrote: I was trying to get the last value before_insert a new item but i didn't find out, so i change of strategy and i saved the last value of this method, but the problem is that when i do other commits my old MapperExtension attribute