CommitComment¶
-
class
github.CommitComment.CommitComment¶ This class represents CommitComments. The reference can be found here https://docs.github.com/en/rest/reference/repos#comments
-
body¶ Type: string
-
commit_id¶ Type: string
-
created_at¶ Type: datetime.datetime
-
html_url¶ Type: string
-
id¶ Type: integer
-
line¶ Type: integer
-
path¶ Type: string
-
position¶ Type: integer
-
updated_at¶ Type: datetime.datetime
-
url¶ Type: string
-
user¶ Type: github.NamedUser.NamedUser
-
delete()¶ Calls: DELETE /repos/{owner}/{repo}/comments/{id} Return type: None
-
edit(body)¶ Calls: PATCH /repos/{owner}/{repo}/comments/{id} Parameters: body – string Return type: None
-
get_reactions()¶ Calls: GET /repos/{owner}/{repo}/comments/{id}/reactions Returns: class: github.PaginatedList.PaginatedListofgithub.Reaction.Reaction
-
create_reaction(reaction_type)¶ Calls: POST /repos/{owner}/{repo}/comments/{id}/reactions Parameters: reaction_type – string Return type: github.Reaction.Reaction
-
delete_reaction(reaction_id)¶ Calls: DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id} Parameters: reaction_id – integer Return type: bool
-