[sqlalchemy] Re: most straightforward way to revert some column changes

2012-02-28 Thread Kent
On Feb 28, 5:39 pm, Michael Bayer mike...@zzzcomputing.com wrote: oh also you might want to use attributes.set_committed_state instead of setattr() so that the history is cleared. 1) What do you mean? setattr() also clears the history if you set it back to what it used to be... right? 2)

Re: [sqlalchemy] Re: most straightforward way to revert some column changes

2012-02-28 Thread Michael Bayer
On Feb 28, 2012, at 6:08 PM, Kent wrote: On Feb 28, 5:39 pm, Michael Bayer mike...@zzzcomputing.com wrote: oh also you might want to use attributes.set_committed_state instead of setattr() so that the history is cleared. 1) What do you mean? setattr() also clears the history if you set