@property
    def summoner(self):
        """
        Returns:
            Summoner: the summoner represented by this entry. None if this entry is for a team
        """
        if not self.data.playerOrTeamId:
            return None

        try:
            id_ = int(self.data.playerOrTeamId)
            return cassiopeia.riotapi.get_summoner_by_id(id_)
        except __HOLE__:
            return None
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/league.py/Entry.summoner