

def my_org_repos(self, permissions=None):
    permissions = (permissions or ['push'])
    return itertools.chain.from_iterable((team.iter_repos() for team in self.gh3.iter_user_teams() if (team.permission in permissions)))

dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/github/api.py GitHubClient.my_org_repos/original