[SQLObject] Allowed values for an EnumCol

2007-11-15 Thread Guilhelm Panaget
Hi, I'd like to know if it is possible to get allowed values that have been set for an EnumCol ? Let's say : class Person(Sqlobject): name = UnicodeCol(length = 100,notNone = True) group = EnumCol(enumValues=["D","P","M","G"]) I'm looking for a way to list the four allowed valu

Re: [SQLObject] Allowed values for an EnumCol

2007-11-15 Thread Oleg Broytmann
On Thu, Nov 15, 2007 at 10:45:06PM +0100, Guilhelm Panaget wrote: > I'd like to know if it is possible to get allowed values that have been set > for an EnumCol ? > > class Person(Sqlobject): > name = UnicodeCol(length = 100,notNone = True) > group = EnumCol(enumValues=["D","P","M","G