diff options
author | 2012-04-28 23:43:28 +0200 | |
---|---|---|
committer | 2012-04-28 23:43:28 +0200 | |
commit | c24e6efbb59065dcb6655d47bb7b0254f2753bff (patch) | |
tree | 32290846e640555ec4804c53c4aab62cbbe7bd13 /pygithub3/github.py | |
parent | :sparkles: Release 0.3 :sparkles: (diff) | |
parent | docstring link typo (diff) | |
download | python-github3-c24e6efbb59065dcb6655d47bb7b0254f2753bff.tar.xz python-github3-c24e6efbb59065dcb6655d47bb7b0254f2753bff.zip |
Merged pull request #4 from natw:services/pull_requests
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r-- | pygithub3/github.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py index 0b302a1..9016742 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -17,9 +17,11 @@ class Github(object): from pygithub3.services.users import User from pygithub3.services.repos import Repo from pygithub3.services.gists import Gist + from pygithub3.services.pull_requests import PullRequests self._users = User(**config) self._repos = Repo(**config) self._gists = Gist(**config) + self._pull_requests = PullRequests(**config) @property def remaining_requests(self): @@ -47,3 +49,10 @@ class Github(object): :ref:`Gists service <Gists service>` """ return self._gists + + @property + def pull_requests(self): + """ + :ref:`Pull Requests service <Pull Requests service>` + """ + return self._pull_requests |