diff options
author | 2012-05-12 23:08:55 +0200 | |
---|---|---|
committer | 2012-05-12 23:08:55 +0200 | |
commit | 748b320dd244341694c0d247d04c7f57ad4c052e (patch) | |
tree | 37b7ffad24d21f398dbb0592395b65599594c40b /pygithub3/github.py | |
parent | New install environment to prod and dev (diff) | |
parent | Some fixes/typos and 'validate_body' related (diff) | |
download | python-github3-748b320dd244341694c0d247d04c7f57ad4c052e.tar.xz python-github3-748b320dd244341694c0d247d04c7f57ad4c052e.zip |
Merge '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 13829a0..87c4a6d 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -18,10 +18,12 @@ class Github(object): from pygithub3.services.repos import Repo from pygithub3.services.gists import Gist from pygithub3.services.git_data import GitData + from pygithub3.services.pull_requests import PullRequests self._users = User(**config) self._repos = Repo(**config) self._gists = Gist(**config) self._git_data = GitData(**config) + self._pull_requests = PullRequests(**config) @property def remaining_requests(self): @@ -56,3 +58,10 @@ class Github(object): :ref:`Git Data service <Git Data service>` """ return self._git_data + + @property + def pull_requests(self): + """ + :ref:`Pull Requests service <Pull Requests service>` + """ + return self._pull_requests |