Files
PyGithub/github/GithubObjects/GitBlob.py
T
2012-03-14 22:56:08 +01:00

12 lines
259 B
Python

from GithubObject import *
GitBlob = GithubObject(
"GitBlob",
BaseUrl( lambda obj: obj._repo._baseUrl() + "/git/blobs/" + obj.sha ),
InternalSimpleAttributes(
"sha", "size", "url",
"content", "encoding",
"_repo",
),
)