@property
    def team(self):
        if not self.data.playerOrTeamId:
            return None

        try:
            int(self.data.playerOrTeamId)
            return None
        except ValueError:
            return cassiopeia.riotapi.get_team_by_id(self.data.playerOrTeamId)
Returns:
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/league.py/Entry.team