aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-06-16 13:56:29 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-06-16 13:58:12 +0200
commit107b12b3b48040488ff6ddd54cb1300200dc8b37 (patch)
treef35c57bb8b5c5cd85511aaad1c0df0e4f97c0c25 /pygithub3/github.py
parentMerge #5 'services/orgs' (diff)
parentTests on services.issues working (diff)
downloadpython-github3-107b12b3b48040488ff6ddd54cb1300200dc8b37.tar.xz
python-github3-107b12b3b48040488ff6ddd54cb1300200dc8b37.zip
Merge #12 'services/issues'
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r--pygithub3/github.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index d135865..50b5a1a 100644
--- a/pygithub3/github.py
+++ b/pygithub3/github.py
@@ -20,12 +20,14 @@ class Github(object):
from pygithub3.services.git_data import GitData
from pygithub3.services.pull_requests import PullRequests
from pygithub3.services.orgs import Org
+ 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._orgs = Org(**config)
+ self._issues = Issue(**config)
@property
def remaining_requests(self):
@@ -68,8 +70,16 @@ class Github(object):
"""
return self._pull_requests
+ @property
def orgs(self):
"""
:ref:`Orgs service <Orgs service>`
"""
return self._orgs
+
+ @property
+ def issues(self):
+ """
+ :ref:`Issues service <Issues service>`
+ """
+ return self._issues