:calls: `GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} `_ :param artifact_id: int :rtype: :class:`github.Artifact.Artifact`
(self, artifact_id: int)
| 4267 | ) |
| 4268 | |
| 4269 | def get_artifact(self, artifact_id: int) -> Artifact: |
| 4270 | """ |
| 4271 | :calls: `GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} <https://docs.github.com/en/rest/actions/artifacts#get-an-artifact>`_ |
| 4272 | :param artifact_id: int |
| 4273 | :rtype: :class:`github.Artifact.Artifact` |
| 4274 | """ |
| 4275 | assert isinstance(artifact_id, int), artifact_id |
| 4276 | headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/actions/artifacts/{artifact_id}") |
| 4277 | return github.Artifact.Artifact(self._requester, headers, data) |
| 4278 | |
| 4279 | def get_codescan_alerts( |
| 4280 | self, |
no test coverage detected