mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
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:
committed by
Nhomar Hernández [Vauxoo]
parent
01d4d5fc69
commit
f119147399
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user