Files
PyGithub/github/GitTree.py
T

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",
),
)