From 048af7551ff328f03e49d3c89519df0960769fa3 Mon Sep 17 00:00:00 2001 From: Philip May Date: Tue, 20 Nov 2018 03:13:04 +0100 Subject: [PATCH] get_issues documentation for state (#961) Closes #835 --- github/Repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/Repository.py b/github/Repository.py index 59b1acd3..e369b690 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -1883,7 +1883,7 @@ class Repository(github.GithubObject.CompletableGithubObject): """ :calls: `GET /repos/:owner/:repo/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`