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

Method get_organization

github/MainClass.py:441–448  ·  view source on GitHub ↗

:calls: `GET /orgs/{org} `_

(self, org: str)

Source from the content-addressed store, hash-verified

439 return PaginatedList(github.NamedUser.NamedUser, self.__requester, "/users", url_parameters)
440
441 def get_organization(self, org: str) -> Organization:
442 """
443 :calls: `GET /orgs/{org} <https://docs.github.com/en/rest/reference/orgs>`_
444 """
445 assert isinstance(org, str), org
446 org = urllib.parse.quote(org, safe="")
447 url = f"/orgs/{org}"
448 return github.Organization.Organization(self.__requester, url=url)
449
450 def get_organizations(self, since: Opt[int] = NotSet) -> PaginatedList[Organization]:
451 """

Callers 15

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

Calls

no outgoing calls

Tested by

no test coverage detected