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

12 lines
236 B
Python

from GithubObject import *
GitTree = GithubObject(
"GitTree",
BaseUrl( lambda obj: obj._repo._baseUrl() + "/git/trees/" + obj.sha ),
InternalSimpleAttributes(
"sha", "url",
"tree",
"_repo",
),
)