On Jul 16, 2007, at 7:17 AM, non-alex wrote:

>
> Hello
> I found conditions when eagerloading does not work because of
> recursion check in setup_query (strategy.py) method.
> Say I have classes A,B,C
> and
> A_mapper has properties a_to_b_property1, a_to_b_property2,
> B_mapper has property b_to_c_property.
> When I make something like
> query(A).options(eagerload('a_to_b_property1'),eagerload 
> ('a_to_b_property1.b_to_c_property'),eagerload 
> ('a_to_b_property2')).get(...)
>
> After processing two first eagerload properties, B_mapper is in
> recursion stack
> and a_to_b_property2 cannot modify query statement.
>
> Any other way to check recursion detection?

another way to check....because why  ?  you want to not use those  
eagerload() options in the first place ? not sure what youre asking  
for here.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to