From 3371f0aabc61dfc8549f0752ccc83aef06df61e8 Mon Sep 17 00:00:00 2001 From: David Medina Date: Sun, 12 Feb 2012 17:53:07 +0100 Subject: Repos service initialized +service.repos.repo --- 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 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 -- cgit v1.2.3-59-g8ed1b