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

Method get_team

github/Organization.py:1383–1389  ·  view source on GitHub ↗

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

(self, id: int)

Source from the content-addressed store, hash-verified

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 """

Callers 7

testAllClassesMethod · 0.80
setUpMethod · 0.80
testLazyAttributesMethod · 0.80
setUpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected