If I have an instance, returned from calling first() or one(), etc on a query object ... is there a straightforward way to determine which of its attributes are dynamic queries, as opposed to loaded data?
This works: [ getattr(instance, attr) for attr in dir(instance) if isinstance( getattr(instance,attr), sqlalchemy.orm.Query) ] but I feel like this probably the wrong way to do it. -bill -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. 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.
