diff options
author | 2012-02-04 19:07:23 +0100 | |
---|---|---|
committer | 2012-02-04 19:07:23 +0100 | |
commit | 8a723b0815841ea9e34c148b06c0fa6529b90e33 (patch) | |
tree | 6161c4aef077d2ac9e2430d935f53e37117a0b9b /pygithub3/models/users.py | |
parent | Full support to Result dynamic and lazy iterator (diff) | |
download | python-github3-8a723b0815841ea9e34c148b06c0fa6529b90e33.tar.xz python-github3-8a723b0815841ea9e34c148b06c0fa6529b90e33.zip |
Renaming (What I was thinking?)
resources => ghrequests
models => resources
+ Also it's near to complete user service
Diffstat (limited to 'pygithub3/models/users.py')
-rw-r--r-- | pygithub3/models/users.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/pygithub3/models/users.py b/pygithub3/models/users.py deleted file mode 100644 index c94a704..0000000 --- a/pygithub3/models/users.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python -# -*- encoding: utf-8 -*- - -from .base import Model - -__all__ = ('Plan', 'User') - - -class Plan(Model): - - def __str__(self): - return '<Plan (%s)>' % getattr(self, 'name', '') - - -class User(Model): - """ """ - - _maps = {'plan': Plan} - _dates = ('created_at', ) - - def __str__(self): - return '<User (%s)>' % getattr(self, 'login', '') |