':param Participant participant: the participant to get the take for
:param GratipayDB cursor: a database cursor; if ``None``, a new cursor will be used
:return: a :py:class:`~decimal.Decimal`: the ``participant``\'s take from this team, or 0.'

def get_take_for(self, participant, cursor=None):

    return (cursor or self.db).one(u'\n\n                                                SELECT    amount\n                                                        FROM    current_takes\n                                                    WHERE    team_id=%s    AND    participant_id=%s\n\n                                ', (self.id, participant.id), default=ZERO)
