#NEWLINE# def get_team( id_ ) : #NEWLINE# #INDENT# 'Gets a team by ID\n\n    id_       str     the ID of the team\n\n    return    Team    the team\n    ' #NEWLINE# team = cassiopeia . dto . teamapi . get_teams_by_id ( id_ ) [ id_ ] #NEWLINE# if ( cassiopeia . core . requests . load_policy is cassiopeia . type . core . common . LoadPolicy . eager ) : #NEWLINE# #INDENT# summoner_ids = team . summoner_ids #NEWLINE# ( cassiopeia . riotapi . get_summoners_by_id ( list ( summoner_ids ) ) if summoner_ids else None ) #NEWLINE# #UNINDENT# return cassiopeia . type . core . team . Team ( team )