aboutsummaryrefslogtreecommitdiffstats
path: root/docs/pull_requests.rst
blob: 09313eb942f51bca36152253d46670d9d362f5b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.. _Pull Requests service:

Pull Requests service
=====================

**Example**::

    from pygithub3 import Github

    gh = Github(user='octocat', repo='sample')

    pull_requests = gh.pull_requests.list().all()
    pull_request_commits = gh.pull_requests.list_commits(2512).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:

.. _github pullrequests doc: http://developer.github.com/v3/pulls
.. _github pullrequests comments doc: http://developer.github.com/v3/pulls/comments