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

Method withRequester

github/Auth.py:346–355  ·  view source on GitHub ↗
(self, requester: Requester)

Source from the content-addressed store, hash-verified

344 self.withRequester(requester)
345
346 def withRequester(self, requester: Requester) -> AppInstallationAuth:
347 assert isinstance(requester, Requester), requester
348 super().withRequester(requester.withAuth(self._app_auth))
349
350 # imported here to avoid circular import
351 from github.GithubIntegration import GithubIntegration
352
353 self.__integration = GithubIntegration(**self.requester.kwargs)
354
355 return self
356
357 @property
358 def app_id(self) -> int | str:

Callers 1

__init__Method · 0.95

Calls 3

GithubIntegrationClass · 0.90
withAuthMethod · 0.80
withRequesterMethod · 0.45

Tested by

no test coverage detected