SA doesnt have this feature built in at the moment. you can use a property to acheive the desired effect:
class MyClass(object): someprop = property(lamba self:[x.someattribute for x in self.comments]) it also might be possible to use the AssociationProxy extension (see sqlalchemy.ext.associationproxy) to achieve the same result with reading/writing capability. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---