@public<EOL>def get_repos_by_team(teams):
return itertools.chain.from_iterable(<EOL>t.get_repos() for t in teams<EOL>)<EOL>
Find repos by membership in github team(s).

    Parameters
    ----------
    teams: list(github.Team.Team)
        list of Team objects

    Returns
    -------
    generator of github.Repository.Repository objects

    Raises
    ------
    github.GithubException
        Upon error from github api