(
self, owner: str, name: str, comment_id: int, input: UpdateIssueCommentInput
)
| 440 | } |
| 441 | |
| 442 | def _update_issue_comment( |
| 443 | self, owner: str, name: str, comment_id: int, input: UpdateIssueCommentInput |
| 444 | ) -> None: |
| 445 | state = self.state |
| 446 | repo = state.repository(owner, name) |
| 447 | comment = state.issue_comment(repo, comment_id) |
| 448 | if (r := input.get("body")) is not None: |
| 449 | comment.body = r |
| 450 | |
| 451 | # NB: This may have a payload, but we don't |
| 452 | # use it so I didn't bother constructing it. |
no test coverage detected