mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
16 lines
409 B
Python
16 lines
409 B
Python
from GithubObject import *
|
|
|
|
from NamedUser import NamedUser
|
|
|
|
IssueComment = GithubObject(
|
|
"IssueComment",
|
|
BaseUrl( lambda obj: obj._repo._baseUrl() + "/issues/comments/" + str( obj.id ) ),
|
|
InternalSimpleAttributes(
|
|
"url", "body", "created_at", "updated_at", "id",
|
|
"_repo",
|
|
),
|
|
InternalObjectAttribute( "user", NamedUser ),
|
|
Editable( [ "body" ], [] ),
|
|
Deletable(),
|
|
)
|