def get_team(id_):
    team = cassiopeia.dto.teamapi.get_teams_by_id(id_)[id_]

    # Load required data if loading policy is eager
    if cassiopeia.core.requests.load_policy is cassiopeia.type.core.common.LoadPolicy.eager:
        summoner_ids = team.summoner_ids
        cassiopeia.riotapi.get_summoners_by_id(list(summoner_ids)) if summoner_ids else None

    return cassiopeia.type.core.team.Team(team)
Gets a team by ID
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/core/teamapi.py/get_team