[sqlalchemy] Re: Polymorphic mappers on boolean types

2008-01-06 Thread Michael Bayer
yeah thats line 1303 of mapper.py. i think i might have made that change right in 0.4.2 thinking, nobody would use a boolean False as a discriminatorany chance you can go with some plain int or string for that ? On Jan 5, 2008, at 11:47 PM, Dave Harrison wrote: Hey all, More fun

[sqlalchemy] Re: Polymorphic mappers on boolean types

2008-01-06 Thread Dave Harrison
Yeah once I'd worked it out I converted the field over to being an int field, just didn't see this one coming :-) Maybe something worth adding into the doco if it's going to stick around ? On Monday 07 January 2008 02:03:19 Michael Bayer wrote: yeah thats line 1303 of mapper.py. i think i

[sqlalchemy] Re: Polymorphic mappers on boolean types

2008-01-06 Thread Michael Bayer
nah ill just take the if discriminator line out. feel free to try that locally. On Jan 6, 2008, at 4:51 PM, Dave Harrison wrote: Yeah once I'd worked it out I converted the field over to being an int field, just didn't see this one coming :-) Maybe something worth adding into the doco if