[sqlalchemy] Re: Association Object Question

2006-10-16 Thread Steve Zatz
> you could also do it just with custom properties on your class ... Thanks -- that is a pretty simple way to do it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send em

[sqlalchemy] Re: Association Object Question

2006-10-16 Thread Michael Bayer
you could also do it just with custom properties on your class, that interpret the association-object holding attribute as a collection of just the endpoint objects. class Item(object): def _get_kw(self): return [ik.keyword for ik in self.keyword_associations] keywords = pr