get_issues documentation for state (#961)

Closes #835
This commit is contained in:
Philip May
2018-11-20 10:13:04 +08:00
committed by Wan Liuyang
parent e4dac15e86
commit 048af7551f
+1 -1
View File
@@ -1883,7 +1883,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
"""
:calls: `GET /repos/:owner/:repo/issues <http://developer.github.com/v3/issues>`_
:param milestone: :class:`github.Milestone.Milestone` or "none" or "*"
:param state: string
:param state: string. `open`, `closed`, or `all`. If this is not set the GitHub API default behavior will be used. At the moment this is to return only open issues. This might change anytime on GitHub API side and it could be clever to explicitly specify the state value.
:param assignee: string or :class:`github.NamedUser.NamedUser` or "none" or "*"
:param mentioned: :class:`github.NamedUser.NamedUser`
:param labels: list of :class:`github.Label.Label`