aboutsummaryrefslogtreecommitdiffstats
path: root/github3/models/repos.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-03 02:59:53 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-03 02:59:53 +0100
commitae1c3c06c47866c8f392d05c63f597d71cebd691 (patch)
tree6543c55e2210bd91f59124785200d1fbfb6be872 /github3/models/repos.py
parentUpdate setup.py (diff)
downloadpython-github3-ae1c3c06c47866c8f392d05c63f597d71cebd691.tar.xz
python-github3-ae1c3c06c47866c8f392d05c63f597d71cebd691.zip
Reset project
Diffstat (limited to 'github3/models/repos.py')
-rw-r--r--github3/models/repos.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/github3/models/repos.py b/github3/models/repos.py
deleted file mode 100644
index 882fb37..0000000
--- a/github3/models/repos.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-# -*- encoding: utf-8 -*-
-
-from .base import BaseResource
-from .user import User
-from .orgs import Org
-
-class Repo(BaseResource):
- """ Repo model """
-
- @classmethod
- def idl(self):
- return {
- 'strs': [
- 'url', 'html_url', 'clone_url', 'git_url', 'ssh_url', 'svn_url',
- 'name', 'description', 'homepage', 'language', 'master_branch'],
- 'ints': ['forks', 'watchers', 'size', 'open_issues'],
- 'dates': ['created_at', 'pushed_at'],
- 'bools': ['private', 'fork', 'has_issues', 'has_wiki', 'has_downloads'],
- 'maps': {
- 'owner': User,
- 'organization': Org,
- 'parent': self.__class__,
- 'source': self.__class__,
- }
- }
-
- def __repr__(self):
- return '<Repo %s/%s>' % (self.owner.login, self.name)