Re: [sqlalchemy] SqlAlchemy 0.6.8 Initiatior in AttributeExtension

2011-12-01 Thread Michael Bayer
On Nov 30, 2011, at 7:48 PM, Hector Blanco wrote: Hello everyone! I am using (yeah, still) SqlAlchemy 0.6.8 and I'm using an AttributeExtension to build permissions of users. class UserGroupExtension(AttributeExtension): def set(self, state, value, oldvalue, initiator):

Re: [sqlalchemy] SqlAlchemy 0.6.8 Initiatior in AttributeExtension

2011-12-01 Thread Hector Blanco
@validates... Where have you been? Oh... In the documentation, all along. The day I learn to read, I'll conquer the world It works great. Thank you! 2011/12/1 Michael Bayer mike...@zzzcomputing.com: On Nov 30, 2011, at 7:48 PM, Hector Blanco wrote: Hello everyone! I am using (yeah, still)

[sqlalchemy] SqlAlchemy 0.6.8 Initiatior in AttributeExtension

2011-11-30 Thread Hector Blanco
Hello everyone! I am using (yeah, still) SqlAlchemy 0.6.8 and I'm using an AttributeExtension to build permissions of users. My users get the permissions depending on the UserGroup they're in. The user has the typical relationship towards UserGroup. My classes: --