On Mon, May 14, 2007 at 03:46:06PM +0400, Oleg Broytmann wrote:
> On Sun, May 13, 2007 at 07:53:47PM -0300, Claudio Martinez wrote:
> > On 5/13/07, Claudio Martinez <[EMAIL PROTECTED]> wrote:
> > >Given this scenario:
> > >
> > >class A(SQLObject):
> > >n = EnumCol(enumValues=['x', 'y'], notNon
On Sun, May 13, 2007 at 07:53:47PM -0300, Claudio Martinez wrote:
> On 5/13/07, Claudio Martinez <[EMAIL PROTECTED]> wrote:
> >Given this scenario:
> >
> >class A(SQLObject):
> >n = EnumCol(enumValues=['x', 'y'], notNone=False)
> >
> >class B(SQLObject):
> >n = EnumCol(enumValues=['x', 'y']
On 5/13/07, Claudio Martinez <[EMAIL PROTECTED]> wrote:
Given this scenario:
class A(SQLObject):
n = EnumCol(enumValues=['x', 'y'], notNone=False)
class B(SQLObject):
n = EnumCol(enumValues=['x', 'y'], notNone=True)
A(n=None) and B(n=None) both give this error:
Invalid: expected a memb