On Jun 26, 2014 7:40 PM, "Mike Bayer" <mike...@zzzcomputing.com> wrote:
>
> right, so a few emails ago I said:
>
> >  you need to put .label('environment') on that column before it finds
its way into subq.  I dont have the mappings here to review.
>
> here's that:
>
>
>     @environment.expression
>     def environment(cls):
>         return select(
>                 [Environment.environment]
>             ).where(
>                 Environment.id == cls.environment_id
>             ).correlate(cls).label('environment')
>
Aha... thanks.  Now I'm afraid to ask if you looked at the "after" file,
and if so, considered it insane. :)

- Ken

>
>
>
>
>
> On 6/26/14, 9:50 PM, Ken Lareau wrote:
>>
>> Done, new file attached (this gives the same error message as the one I
showed initially, at least on my system).
>>
>> - Ken
>> --
>> You received this message because you are subscribed to the Google
Groups "sqlalchemy" group.
>> To unsubscribe from this group and stop receiving emails from it, send
an email to sqlalchemy+unsubscr...@googlegroups.com.
>> To post to this group, send email to sqlalchemy@googlegroups.com.
>> Visit this group at http://groups.google.com/group/sqlalchemy.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to