From f11914739903e918d8dee7ffe457e3ad15b7c19c Mon Sep 17 00:00:00 2001 From: Michael Pereira Date: Mon, 5 Dec 2016 15:04:14 -0500 Subject: [PATCH] Add details of repo type for get_repos documentation Taken from https://developer.github.com/v3/repos/#list-organization-repositories --- github/Organization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/Organization.py b/github/Organization.py index 90cce0d9..46edc26d 100644 --- a/github/Organization.py +++ b/github/Organization.py @@ -526,7 +526,7 @@ class Organization(github.GithubObject.CompletableGithubObject): def get_repos(self, type=github.GithubObject.NotSet): """ :calls: `GET /orgs/:org/repos `_ - :param type: string + :param type: string ('all', 'public', 'private', 'forks', 'sources', 'member') :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository` """ assert type is github.GithubObject.NotSet or isinstance(type, (str, unicode)), type