diff options
author | 2012-04-16 13:48:54 -0500 | |
---|---|---|
committer | 2012-04-16 13:48:54 -0500 | |
commit | 286cf17b23890b709a7b55ecb21148af88577779 (patch) | |
tree | ea07ebb06e78d9385ed23ea178e6138b213fb6d9 /pygithub3/services/git_data/blobs.py | |
parent | add Git Data API support (diff) | |
download | python-github3-286cf17b23890b709a7b55ecb21148af88577779.tar.xz python-github3-286cf17b23890b709a7b55ecb21148af88577779.zip |
add some docs I missed
Diffstat (limited to 'pygithub3/services/git_data/blobs.py')
-rw-r--r-- | pygithub3/services/git_data/blobs.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pygithub3/services/git_data/blobs.py b/pygithub3/services/git_data/blobs.py index d5baa2d..4f1a6e7 100644 --- a/pygithub3/services/git_data/blobs.py +++ b/pygithub3/services/git_data/blobs.py @@ -11,6 +11,8 @@ class Blobs(Service): """Get a particular blob :param str sha: The sha of the blob to get + :param str user: Username + :param str repo: Repository """ request = self.make_request('git_data.blobs.get', sha=sha, @@ -18,7 +20,13 @@ class Blobs(Service): return self._get(request) def create(self, data, user=None, repo=None): - """Create a blob""" + """Create a blob + + :param dict data: Data describing the blob to create + :param str user: Username + :param str repo: Repository + + """ request = self.make_request('git_data.blobs.create', body=data, user=user, repo=repo) return self._post(request) |