[sqlalchemy] Re: Executing query results in ProgrammingError: can't adapt type 'InstrumentedAttribute'

2011-08-26 Thread OlduvaiHand
That makes perfect sense. I really appreciate the help. Everything is working as expected now. On Aug 26, 12:42 pm, Michael Bayer wrote: > On Aug 26, 2011, at 1:34 PM, OlduvaiHand wrote: > > > Indeed.  I did mean to be using the case() function.  Thanks, zzzeek. > > Incidentally, this particula

Re: [sqlalchemy] Re: Executing query results in ProgrammingError: can't adapt type 'InstrumentedAttribute'

2011-08-26 Thread Michael Bayer
On Aug 26, 2011, at 1:34 PM, OlduvaiHand wrote: > Indeed. I did mean to be using the case() function. Thanks, zzzeek. > Incidentally, this particular case is supposed to return EnumSymbols > of the variety you describe in your EnumRecipe on techspot. Now that > the correct case function is bei

[sqlalchemy] Re: Executing query results in ProgrammingError: can't adapt type 'InstrumentedAttribute'

2011-08-26 Thread OlduvaiHand
Indeed. I did mean to be using the case() function. Thanks, zzzeek. Incidentally, this particular case is supposed to return EnumSymbols of the variety you describe in your EnumRecipe on techspot. Now that the correct case function is being used, I'm still getting a "ProgrammingError: can't adap