On Jul 29, 2011, at 8:34 AM, Stefano Fontanelli wrote:

> Il 28/07/11 21.17, Michael Bayer ha scritto:
>> hmmmm well there's not a public API for that.   Right now (and with no 
>> immediate plans to change it) the function should have an attribute called 
>> "__sa_validators__" which is a list of attribute names.    Ultimately there 
>> are attribute events assigned though the event API doesn't have a documented 
>> introspection interface (yet) either.
>> 
> 
> Yes, I read the code of 'validates' decorator function and I found 
> '__sa_validators__'.
> About attribute events... I will read the code next weekend.
> My hope? The existence of a public API :)
> It is not a problem... Are you interested in a patch?
> 
> Thank you for the great support.

I'm interested in lots and lots of patches, with tests that can go straight 
into our test suite (since I generally don't commit code that isn't covered by 
at least a simple test, and most of the work in new patches is writing the 
tests, not the feature) :) , yes.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to