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

Method get_reactions

github/Issue.py:579–589  ·  view source on GitHub ↗

:calls: `GET /repos/{owner}/{repo}/issues/{issue_number}/reactions `_

(self)

Source from the content-addressed store, hash-verified

577 headers, data = self._requester.requestJsonAndCheck("PUT", f"{self.url}/labels", input=post_parameters)
578
579 def get_reactions(self) -> PaginatedList[Reaction]:
580 """
581 :calls: `GET /repos/{owner}/{repo}/issues/{issue_number}/reactions <https://docs.github.com/en/rest/reference/reactions#list-reactions-for-an-issue>`_
582 """
583 return PaginatedList(
584 github.Reaction.Reaction,
585 self._requester,
586 f"{self.url}/reactions",
587 None,
588 headers={"Accept": Consts.mediaTypeReactionsPreview},
589 )
590
591 def get_sub_issues(self) -> PaginatedList[SubIssue]:
592 """

Callers 6

testGetReactionsMethod · 0.45
testAttributesMethod · 0.45
testGetReactionsMethod · 0.45
setUpMethod · 0.45
testGetReactionsMethod · 0.45
testGetReactionsMethod · 0.45

Calls 1

PaginatedListClass · 0.90

Tested by

no test coverage detected