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

Method withLazy

github/MainClass.py:277–288  ·  view source on GitHub ↗

Create a Github 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

275 )
276
277 def withLazy(self, lazy: bool) -> Github:
278 """
279 Create a Github instance with identical configuration but the given lazy setting.
280
281 :param lazy: completable objects created from this instance are lazy, as well as completable objects created
282 from those, and so on
283 :return: new Github instance
284
285 """
286 kwargs = self.__requester.kwargs
287 kwargs.update(lazy=lazy)
288 return Github(**kwargs)
289
290 def close(self) -> None:
291 """Close connections to the server. Alternatively, use the Github

Callers 15

get_userMethod · 0.45
get_repoMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45
testLazyAttributesMethod · 0.45

Calls 2

GithubClass · 0.70
updateMethod · 0.45

Tested by

no test coverage detected