aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/services/base.py')
-rw-r--r--pygithub3/services/base.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pygithub3/services/base.py b/pygithub3/services/base.py
index c91bc72..649b2b3 100644
--- a/pygithub3/services/base.py
+++ b/pygithub3/services/base.py
@@ -80,6 +80,12 @@ class Service(object):
"""
self._client.set_token(token)
+ #TODO: Refact as decorator::
+ """
+ Reason: make_request and request_builder ... are confusing names
+ @precedence('user')
+ def list(self, sha, user=None):
+ """
def make_request(self, request, **kwargs):
if 'user' in kwargs:
kwargs['user'] = kwargs['user'] or self.get_user()
@@ -146,6 +152,7 @@ class Service(object):
return normal.Result(method)
+# XXX: Refact to set_<type> method
class MimeTypeMixin(object):
"""
Mimetype support to Services