aboutsummaryrefslogtreecommitdiffstats
path: root/github3/models.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-10-19 02:36:09 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-10-19 02:36:09 -0400
commit68ba47c4648695c2890ecdd54e6163a67f16222f (patch)
tree610b216971497b171991d13f1637fdd339bd8304 /github3/models.py
parentcache response data, update patched resources! (diff)
downloadpython-github3-68ba47c4648695c2890ecdd54e6163a67f16222f.tar.xz
python-github3-68ba47c4648695c2890ecdd54e6163a67f16222f.zip
proper requests authentication
Diffstat (limited to 'github3/models.py')
-rw-r--r--github3/models.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/github3/models.py b/github3/models.py
index 1e7f2b4..b95d479 100644
--- a/github3/models.py
+++ b/github3/models.py
@@ -59,6 +59,7 @@ class BaseResource(object):
_gh = gh
)
+
def update(self):
deploy = key_diff(self._cache, self.dict(), pack=True)
@@ -69,12 +70,6 @@ class BaseResource(object):
return r
-
- def setattr(self, k, v):
- # TODO: when writable key changed,
- pass
-
-
class Plan(BaseResource):
"""Github Plan object model."""