:calls: `GET /teams/{team_id}/discussions `_
(self)
| 433 | ) |
| 434 | |
| 435 | def get_discussions(self) -> PaginatedList[TeamDiscussion]: |
| 436 | """ |
| 437 | :calls: `GET /teams/{team_id}/discussions <https://docs.github.com/en/rest/reference/teams#list-discussions>`_ |
| 438 | """ |
| 439 | return github.PaginatedList.PaginatedList( |
| 440 | github.TeamDiscussion.TeamDiscussion, |
| 441 | self._requester, |
| 442 | f"{self.url}/discussions", |
| 443 | None, |
| 444 | headers={"Accept": Consts.mediaTypeTeamDiscussionsPreview}, |
| 445 | ) |
| 446 | |
| 447 | def get_members(self, role: Opt[str] = NotSet) -> PaginatedList[NamedUser]: |
| 448 | """ |
no outgoing calls
no test coverage detected