aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-12 17:53:07 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-12 18:37:02 +0100
commit3371f0aabc61dfc8549f0752ccc83aef06df61e8 (patch)
tree1fa6291a13ca8f3acdf2eed459be2ea08b7602d0 /pygithub3/github.py
parentSupport to map `self` in resources. (diff)
downloadpython-github3-3371f0aabc61dfc8549f0752ccc83aef06df61e8.tar.xz
python-github3-3371f0aabc61dfc8549f0752ccc83aef06df61e8.zip
Repos service initialized
+service.repos.repo
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r--pygithub3/github.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index 9d9ca98..4941ffd 100644
--- a/pygithub3/github.py
+++ b/pygithub3/github.py
@@ -2,6 +2,7 @@
# -*- encoding: utf-8 -*-
from pygithub3.services.users import User
+from pygithub3.services.repos import Repo
class Github(object):
@@ -9,7 +10,12 @@ class Github(object):
def __init__(self, **config):
self._users = User(**config)
+ self._repos = Repo(**config)
@property
def users(self):
return self._users
+
+ @property
+ def repos(self):
+ return self._repos