MCPcopy
hub / github.com/PyGithub/PyGithub / get_annotations

Method get_annotations

github/CheckRun.py:202–212  ·  view source on GitHub ↗

:calls: `GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations `_

(self)

Source from the content-addressed store, hash-verified

200 return self._url.value
201
202 def get_annotations(self) -> PaginatedList[CheckRunAnnotation]:
203 """
204 :calls: `GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations <https://docs.github.com/en/rest/reference/checks#list-check-run-annotations>`_
205 """
206 return PaginatedList(
207 github.CheckRunAnnotation.CheckRunAnnotation,
208 self._requester,
209 f"{self.url}/annotations",
210 None,
211 headers={"Accept": "application/vnd.github.v3+json"},
212 )
213
214 def edit(
215 self,

Calls 1

PaginatedListClass · 0.90

Tested by

no test coverage detected