Hi,
is there an easy way to apply a function to the items returned by
association_proxy? Currently, I have a setup like this: A->B->C, both
one-to-many relations; A.C (association_proxy('B','C')) returns a list
of lists but I would like to apply a function (list(chain.from_iterable
(x))) that flattens it to a simple list. What what be the best way to
implement this?
Cheers,
Adrian
--
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.