:calls: `GET /teams/{team_id} `_
(self, id: int)
| 1381 | ) |
| 1382 | |
| 1383 | def get_team(self, id: int) -> Team: |
| 1384 | """ |
| 1385 | :calls: `GET /teams/{team_id} <https://docs.github.com/en/rest/reference/teams>`_ |
| 1386 | """ |
| 1387 | assert isinstance(id, int), id |
| 1388 | url = f"/teams/{id}" |
| 1389 | return github.Team.Team(self._requester, url=url) |
| 1390 | |
| 1391 | def get_team_by_slug(self, slug: str) -> Team: |
| 1392 | """ |
no outgoing calls
no test coverage detected