[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: Schema display

2008-01-06 Thread Michael Bayer
where its always been... http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SchemaDisplay On Jan 5, 2008, at 7:58 PM, [EMAIL PROTECTED] wrote: Hi Guys, I was wondering where the function create_schema_graph has gone, or what it has changed to. Any assistance would be appreciated. Let

[sqlalchemy] lazyloading 2 levels deep causes error

2008-01-06 Thread Brendan Arnold
Hi there, I have an object which has another sqlalchemy object joined to it and that has a series of sqlalchemy objects joined to that. i.e. obj1 - obj2 - [obj3, obj4, obj5..] However when I try to access the list joined to object 2 I get the following error, Traceback (most recent call

[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

[sqlalchemy] MySQL encoding

2008-01-06 Thread phasma
Hi! I'm using mysql *** 1. row *** Variable_name: character_set_client Value: utf8 *** 2. row *** Variable_name: character_set_connection Value: utf8 *** 3.

[sqlalchemy] Re: MySQL encoding

2008-01-06 Thread jason kirtland
phasma wrote: Hi! I'm using mysql *** 1. row *** Variable_name: character_set_client Value: utf8 *** 2. row *** Variable_name: character_set_connection Value: utf8

[sqlalchemy] broken relationship

2008-01-06 Thread Marcos Dione
me and my now ex-girlfriend just broke... sorry, couldn't help myself. it's just that I've been the whole afternoon chasing this bug in #sqlalchemy. see the attached script. it basically creates a Feed and a Post related with that Feed. the Feed goes just fine in the db, but the Post