'Return a list of member takes for a team.'

def get_current_takes(self, cursor=None):

    TAKES = u'\n                                                SELECT    p.*::participants    AS    participant\n                                                                    ,    ct.amount,    ct.ctime,    ct.mtime\n                                                        FROM    current_takes    ct\n                                                        JOIN    participants    p\n                                                                ON    ct.participant_id    =    p.id\n                                                    WHERE    team_id=%(team_id)s\n                                        ORDER    BY    amount    ASC,    ctime    ASC\n                                '
    records = (cursor or self.db).all(TAKES, dict(team_id=self.id))
    return [r._asdict() for r in records]
