File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ .. _Pull Requests service :
2+
3+ Pull Requests service
4+ =====================
5+
6+ **Example **::
7+
8+ from pygithub3 import Github
9+
10+ gh = Github()
11+
12+ pull_requests = gh.pull_requests.list().all()
13+ for pr in pull_requests:
14+ commits = gh.pull_requests.list_commits(pr.number).all()
15+
16+ Pull Requests
17+ -------------
18+
19+ .. autoclass :: pygithub3.services.pull_requests.PullRequests
20+ :members:
21+
22+ .. attribute :: comments
23+
24+ :ref: `Pull Request Comments service `
25+
26+
27+ .. _Pull Request Comments service :
28+
29+ Pull Request Comments
30+ ---------------------
31+
32+ .. autoclass :: pygithub3.services.pull_requests.Comments
33+ :members:
Original file line number Diff line number Diff line change @@ -72,5 +72,6 @@ List of services
7272 users
7373 repos
7474 gists
75+ pull_requests
7576
7677.. _mimetypes : http://developer.github.com/v3/mime
You can’t perform that action at this time.
0 commit comments