MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / get_workflow_run

Method get_workflow_run

github/Repository.py:3805–3813  ·  view source on GitHub ↗

:calls: `GET /repos/{owner}/{repo}/actions/runs/{run_id} `_ :param id_: int :rtype: :class:`github.WorkflowRun.WorkflowRun`

(self, id_: int)

Source from the content-addressed store, hash-verified

3803 )
3804
3805 def get_workflow_run(self, id_: int) -> WorkflowRun:
3806 """
3807 :calls: `GET /repos/{owner}/{repo}/actions/runs/{run_id} <https://docs.github.com/en/rest/reference/actions#workflow-runs>`_
3808 :param id_: int
3809 :rtype: :class:`github.WorkflowRun.WorkflowRun`
3810 """
3811 assert isinstance(id_, int)
3812 url = f"{self.url}/actions/runs/{id_}"
3813 return github.WorkflowRun.WorkflowRun(self._requester, url=url)
3814
3815 def has_in_assignees(self, assignee: str | NamedUser) -> bool:
3816 """

Callers 8

setUpMethod · 0.80
test_rerunMethod · 0.80
test_cancelMethod · 0.80
test_deleteMethod · 0.80
setUpMethod · 0.80

Calls

no outgoing calls

Tested by 5

test_rerunMethod · 0.64
test_cancelMethod · 0.64
test_deleteMethod · 0.64