Re: [sqlalchemy] Calculated relationships

2016-06-03 Thread Andrew Pashkin

Bump

--
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Calculated relationships

2016-05-23 Thread Mike Bayer

I see that it's not on the web GUI either.  Yes, that's a google bug.

In https://support.google.com/groups/answer/2466386?hl=en , I click the 
"post and always allow future messages from author" button, same button 
I've been clicking for like eight years.Googling (heh) for any 
reported issue here doesn't immediately turn up anything.   Feel free to 
poke around.   I'll try to remember to press the "post" button 
individually first next time and see if it takes.




On 05/23/2016 12:55 AM, Jonathan Vanasco wrote:



On Sunday, May 22, 2016 at 11:45:23 PM UTC-4, Mike Bayer wrote:


Anyway I approve the message and the poster and it should show up in
the
group, I do get the released message emailed to me at least.


For whatever reasons, it's only going to you.  All the "user's first
post" threads for the past few months have been missing the first post.
 Google must have changed something on their end, because they used to
always show.

--
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 https://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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Calculated relationships

2016-05-22 Thread Jonathan Vanasco


On Sunday, May 22, 2016 at 11:45:23 PM UTC-4, Mike Bayer wrote:
>
>
> Anyway I approve the message and the poster and it should show up in the 
> group, I do get the released message emailed to me at least. 
>

For whatever reasons, it's only going to you.  All the "user's first post" 
threads for the past few months have been missing the first post.  Google 
must have changed something on their end, because they used to always show. 

-- 
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Calculated relationships

2016-05-22 Thread Mike Bayer



On 05/21/2016 02:06 PM, Jonathan Vanasco wrote:



On Saturday, May 21, 2016 at 12:30:26 PM UTC-4, Andrew Pashkin wrote:

It's strange, why I don't see the first post in the thread?


this has happened a few times this week.  any chance this is from a
moderation feature, mike?


Google Groups about one every two weeks selects a totally random post 
from any user (even users who have posted lots) and decides it might be 
spam, holds it in a moderation queue and sends me an annoying email. 
I've allowed many hundreds of these over the years and not one ever was 
actually spam.  Whereas we do occasionally get blindingly obvious spam 
posts a few times a year as well.


Anyway I approve the message and the poster and it should show up in the 
group, I do get the released message emailed to me at least.







--
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 https://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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Calculated relationships

2016-05-21 Thread Andrew Pashkin

On 05/21/2016 09:06 PM, Jonathan Vanasco wrote:

feature

Looks more like a bug.

--
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Calculated relationships

2016-05-21 Thread Jonathan Vanasco


On Saturday, May 21, 2016 at 12:30:26 PM UTC-4, Andrew Pashkin wrote:
>
> It's strange, why I don't see the first post in the thread?
>

this has happened a few times this week.  any chance this is from a 
moderation feature, mike? 

-- 
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Calculated relationships

2016-05-21 Thread Andrew Pashkin
I used this method in conjunction with "Mapping a Class against Arbitrary 
Selects" 

 
- I mapped a query to a model and then added relations to it to other 
models.

ps.
It's strange, why I don't see the first post in the thread?


-- 
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Calculated relationships

2016-05-21 Thread Mike Bayer
You can put whatever expressions you want in relationships provided they
provide enough information to map them the way relationship expects, the
examples at
http://docs2.sqlalchemy.org/en/latest/orm/join_conditions.html#creating-custom-foreign-conditions
should get you started.


On Friday, May 20, 2016, Andrew Pashkin  wrote:

> Hello, everyone, there is a way to have calculated scalar fields, using
> column_property and hybrid_property. But is there a way, to create
> calculated foreign keys and calculated relationship with SQLAlchemy?
>
> --
> 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 https://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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


[sqlalchemy] Calculated relationships

2016-05-21 Thread Andrew Pashkin
Hello, everyone, there is a way to have calculated scalar fields, using 
column_property and hybrid_property. But is there a way, to create 
calculated foreign keys and calculated relationship with SQLAlchemy?

-- 
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.