Files
PyGithub/github/GitRef.py
T

13 lines
270 B
Python

from GithubObject import *
GitRef = GithubObject(
"GitRef",
BaseUrl( lambda obj: obj._repo._baseUrl() + "/git/" + obj.ref ),
InternalSimpleAttributes(
"ref", "url",
"object",
"_repo",
),
Editable( [ "sha" ], [ "force" ] ),
)