From 61c438619634c80a9fb5579beb0a6609eaf00f2d Mon Sep 17 00:00:00 2001 From: Conor Branagan Date: Wed, 11 Apr 2012 17:11:08 -0400 Subject: Add issues service for issues, comments and events. has tests and updated docs --- pygithub3/github.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pygithub3/github.py') diff --git a/pygithub3/github.py b/pygithub3/github.py index 87c4a6d..5f95505 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -19,11 +19,16 @@ class Github(object): from pygithub3.services.gists import Gist from pygithub3.services.git_data import GitData from pygithub3.services.pull_requests import PullRequests + from pygithub3.services.issues import Issue self._users = User(**config) self._repos = Repo(**config) self._gists = Gist(**config) self._git_data = GitData(**config) self._pull_requests = PullRequests(**config) + self._users = User(**config) + self._repos = Repo(**config) + self._gists = Gist(**config) + self._issues = Issue(**config) @property def remaining_requests(self): -- cgit v1.2.3-59-g8ed1b From 28b0668168e7662d0be8fbf3abedc15e597d178d Mon Sep 17 00:00:00 2001 From: Conor Branagan Date: Fri, 13 Apr 2012 16:31:16 -0400 Subject: Use github.issues for the issues service --- pygithub3/github.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pygithub3/github.py') diff --git a/pygithub3/github.py b/pygithub3/github.py index 5f95505..20ec258 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -70,3 +70,9 @@ class Github(object): :ref:`Pull Requests service ` """ return self._pull_requests + + def issues(self): + """ + :ref:`Issues service ` + """ + return self._issues -- cgit v1.2.3-59-g8ed1b