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

Method withLazy

github/GithubIntegration.py:181–192  ·  view source on GitHub ↗

Create a GithubIntegration instance with identical configuration but the given lazy setting. :param lazy: completable objects created from this instance are lazy, as well as completable objects created from those, and so on :return: new Github instance

(self, lazy: bool)

Source from the content-addressed store, hash-verified

179 )
180
181 def withLazy(self, lazy: bool) -> GithubIntegration:
182 """
183 Create a GithubIntegration instance with identical configuration but the given lazy setting.
184
185 :param lazy: completable objects created from this instance are lazy, as well as completable objects created
186 from those, and so on
187 :return: new Github instance
188
189 """
190 kwargs = self.__requester.kwargs
191 kwargs.update(lazy=lazy)
192 return GithubIntegration(**kwargs)
193
194 def close(self) -> None:
195 """Close connections to the server. Alternatively, use the

Callers

nothing calls this directly

Calls 2

GithubIntegrationClass · 0.70
updateMethod · 0.45

Tested by

no test coverage detected