Files
PyGithub/github/RepositoryKey.py
T

13 lines
304 B
Python

from GithubObject import *
RepositoryKey = GithubObject(
"RepositoryKey",
BaseUrl( lambda obj: obj._repo._baseUrl() + "/keys/" + str( obj.id ) ),
InternalSimpleAttributes(
"url", "id", "title", "key",
"_repo",
),
Editable( [ "title", "key" ], [] ),
Deletable()
)