@property
    def team(self):
        """
        Returns:
            Team: the relevant team that is a member of this league. Only present when full league is requested so that participant's entry can be identified. None when individual entry is requested or the participant is a summoner.
        """
        if not self.data.participantId:
            return None

        try:
            int(self.data.participantId)
            return None
        except __HOLE__:
            return cassiopeia.riotapi.get_team_by_id(self.data.participantId)
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/league.py/League.team