:calls: `GET /teams/{team_id}/invitations `_
(self)
| 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 | """ |
no outgoing calls
no test coverage detected