aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-06-03 13:02:54 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-06-03 13:02:54 +0200
commit897671db979e64754de2c53cbbe83fcbae37bb02 (patch)
tree11ac9ede303971d2bcaf270d833fd4112c923509 /pygithub3/github.py
parentMerge 'services/orgs' (diff)
parentChange "Edit" to "Update" in docstring (diff)
downloadpython-github3-897671db979e64754de2c53cbbe83fcbae37bb02.tar.xz
python-github3-897671db979e64754de2c53cbbe83fcbae37bb02.zip
Merge branch 'services/issues' of https://github.com/alejandrogomez/python-github3 into services/issues
Conflicts: docs/services.rst pygithub3/github.py pygithub3/requests/repos/__init__.py
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r--pygithub3/github.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index d135865..1d00d79 100644
--- a/pygithub3/github.py
+++ b/pygithub3/github.py
@@ -20,12 +20,17 @@ 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._users = User(**config)
+ self._repos = Repo(**config)
+ self._gists = Gist(**config)
+ self._issues = Issue(**config)
@property
def remaining_requests(self):
@@ -73,3 +78,9 @@ class Github(object):
:ref:`Orgs service <Orgs service>`
"""
return self._orgs
+
+ def issues(self):
+ """
+ :ref:`Issues service <Issues service>`
+ """
+ return self._issues