[sqlalchemy] Re: Attribute extension in 0.5rc1

2008-10-05 Thread Michael Bayer
That's more of a function specific to your application. SQLA's attribute events are specifically so you can squeeze in the middle of its own instrumentation. On Oct 3, 6:09 pm, Brett [EMAIL PROTECTED] wrote: I was trying to send events to listeners when attributes changed on my model.  It

[sqlalchemy] Re: Attribute extension in 0.5rc1

2008-10-03 Thread Brett
I was trying to send events to listeners when attributes changed on my model. It didn't really work out that well for me anyways as I wanted to listen to specific instances and not every instance of a mapped class. On Oct 1, 2:15 pm, Michael Bayer [EMAIL PROTECTED] wrote: On Oct 1, 2008, at

[sqlalchemy] Re: Attribute extension in 0.5rc1

2008-10-01 Thread Brett
I'm using AttributeExtension for my project and it would greatly simplify things if I could receive the events after the attributes are set. Is there any way this will make it into SqlAlchemy? On Sep 28, 8:09 pm, Mike Bernson [EMAIL PROTECTED] wrote: Michael Bayer wrote: On Sep 28, 2008, at

[sqlalchemy] Re: Attribute extension in 0.5rc1

2008-10-01 Thread Michael Bayer
On Oct 1, 2008, at 3:28 PM, Brett wrote: I'm using AttributeExtension for my project and it would greatly simplify things if I could receive the events after the attributes are set. Is there any way this will make it into SqlAlchemy? having the events received before is a strong feature

[sqlalchemy] Re: Attribute extension in 0.5rc1

2008-09-28 Thread Michael Bayer
On Sep 28, 2008, at 8:23 PM, Mike Bernson wrote: The set method has changed from 0.5b3 to 0.5rc1. The old set method set the value before it called the set method in attribute extension. The new method set the value after the set method is called. This is cause me problems because the

[sqlalchemy] Re: Attribute extension in 0.5rc1

2008-09-28 Thread Mike Bernson
Michael Bayer wrote: On Sep 28, 2008, at 8:23 PM, Mike Bernson wrote: The set method has changed from 0.5b3 to 0.5rc1. The old set method set the value before it called the set method in attribute extension. The new method set the value after the set method is called. This is cause