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

Method invitations

github/Team.py:471–481  ·  view source on GitHub ↗

:calls: `GET /teams/{team_id}/invitations `_

(self)

Source from the content-addressed store, hash-verified

469 )
470
471 def invitations(self) -> PaginatedList[OrganizationInvitation]:
472 """
473 :calls: `GET /teams/{team_id}/invitations <https://docs.github.com/en/rest/reference/teams#members>`_
474 """
475 return github.PaginatedList.PaginatedList(
476 github.NamedUser.OrganizationInvitation,
477 self._requester,
478 f"{self.url}/invitations",
479 None,
480 headers={"Accept": Consts.mediaTypeOrganizationInvitationPreview},
481 )
482
483 def has_in_members(self, member: NamedUser) -> bool:
484 """

Callers 3

setUpMethod · 0.45
setUpMethod · 0.45
testCancelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected