On Apr 10, 2007, at 10:22 AM, Gaetan de Menten wrote:
> In case anybody is interested, here is my patch slightly modified with > what you suggest above. Now it works wonders for both lazy and eager > relationships. There is something ugly about it though: imports. I > have to import the LazyLoader class from the orm.strategies module, > but that module imports query, so what I did is import the LazyLoader > class inside the from_attr method to avoid a "circular import" > problem. importing inside a method is perfectly fine, ill try to see if theres a workaround but sometimes there really isnt... > By the way, should I create a ticket for this? yes. otherwise ill completely forget about it. i might have to rush out some extra features this weekend to get 0.3.7 out, so this one might not be in until 0.3.8. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---