i think if you just look in the object's __dict__ for the attribute and its not there, the lazy load didnt happen yet.
On Mar 19, 2007, at 1:04 PM, Rick Morrison wrote: > I've got a sort of odd situation where I would like to detect if a > (lazy) relation property of a mapper has been already loaded or not > without triggering an automatic lazy load. Is it possible to do that? > > Thanks, > Rick > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---