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

Method get_sub_issues

github/Issue.py:591–602  ·  view source on GitHub ↗

:calls: `GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues `_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Issue.Issue`

(self)

Source from the content-addressed store, hash-verified

589 )
590
591 def get_sub_issues(self) -> PaginatedList[SubIssue]:
592 """
593 :calls: `GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues <https://docs.github.com/en/rest/issues/sub-issues?apiVersion=2022-11-28>`_
594 :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Issue.Issue`
595 """
596 return PaginatedList(
597 SubIssue,
598 self._requester,
599 f"{self.url}/sub_issues",
600 None,
601 headers={"Accept": Consts.mediaType},
602 )
603
604 def add_sub_issue(self, sub_issue: int | Issue) -> SubIssue:
605 """

Callers 4

testListSubIssuesMethod · 0.80
testAddSubIssueMethod · 0.80
testRemoveSubIssueMethod · 0.80

Calls 1

PaginatedListClass · 0.90

Tested by

no test coverage detected