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

Method get_labels

github/Issue.py:539–543  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

537 )
538
539 def get_labels(self) -> PaginatedList[Label]:
540 """
541 :calls: `GET /repos/{owner}/{repo}/issues/{issue_number}/labels <https://docs.github.com/en/rest/reference/issues#labels>`_
542 """
543 return PaginatedList(github.Label.Label, self._requester, f"{self.url}/labels", None)
544
545 def remove_from_assignees(self, *assignees: NamedUser | str) -> None:
546 """

Calls 1

PaginatedListClass · 0.90

Tested by

no test coverage detected