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