diff options
| author | 2012-04-18 14:50:00 -0500 | |
|---|---|---|
| committer | 2012-04-18 14:50:00 -0500 | |
| commit | b97ab378e623826ca4192ea9977cf1c91f39031b (patch) | |
| tree | dff5b5838503f2414d27269d5f3528b063cce283 /docs/pull_requests.rst | |
| parent | pass body to pull_requests.merge properly (diff) | |
| download | python-github3-b97ab378e623826ca4192ea9977cf1c91f39031b.tar.xz python-github3-b97ab378e623826ca4192ea9977cf1c91f39031b.zip | |
add docs for pull requests
Diffstat (limited to 'docs/pull_requests.rst')
| -rw-r--r-- | docs/pull_requests.rst | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/pull_requests.rst b/docs/pull_requests.rst new file mode 100644 index 0000000..40c3435 --- /dev/null +++ b/docs/pull_requests.rst @@ -0,0 +1,33 @@ +.. _Pull Requests service: + +Pull Requests service +===================== + +**Example**:: + + from pygithub3 import Github + + gh = Github() + + pull_requests = gh.pull_requests.list().all() + for pr in pull_requests: + commits = gh.pull_requests.list_commits(pr.number).all() + +Pull Requests +------------- + +.. autoclass:: pygithub3.services.pull_requests.PullRequests + :members: + + .. attribute:: comments + + :ref:`Pull Request Comments service` + + +.. _Pull Request Comments service: + +Pull Request Comments +--------------------- + +.. autoclass:: pygithub3.services.pull_requests.Comments + :members: |
