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

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()
)