Add details of repo type for get_repos documentation

Taken from https://developer.github.com/v3/repos/#list-organization-repositories
This commit is contained in:
Michael Pereira
2017-01-17 12:56:17 -06:00
committed by Nhomar Hernández [Vauxoo]
parent 01d4d5fc69
commit f119147399
+1 -1
View File
@@ -526,7 +526,7 @@ class Organization(github.GithubObject.CompletableGithubObject):
def get_repos(self, type=github.GithubObject.NotSet):
"""
:calls: `GET /orgs/:org/repos <http://developer.github.com/v3/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