:calls: `PATCH /repos/{owner}/{repo}/comments/{comment_id} `_
(self, body: str)
| 170 | headers, data = self._requester.requestJsonAndCheck("DELETE", self.url) |
| 171 | |
| 172 | def edit(self, body: str) -> None: |
| 173 | """ |
| 174 | :calls: `PATCH /repos/{owner}/{repo}/comments/{comment_id} <https://docs.github.com/en/rest/reference/repos#comments>`_ |
| 175 | """ |
| 176 | assert isinstance(body, str), body |
| 177 | post_parameters = { |
| 178 | "body": body, |
| 179 | } |
| 180 | headers, data = self._requester.requestJsonAndCheck("PATCH", self.url, input=post_parameters) |
| 181 | self._useAttributes(data) |
| 182 | self._set_complete() |
| 183 | |
| 184 | def get_reactions(self) -> PaginatedList[Reaction]: |
| 185 | """ |
nothing calls this directly
no test coverage detected