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

Method injectConnectionClasses

github/Requester.py:300–307  ·  view source on GitHub ↗
(
        cls,
        httpConnectionClass: type[HTTPRequestsConnectionClass],
        httpsConnectionClass: type[HTTPSRequestsConnectionClass],
    )

Source from the content-addressed store, hash-verified

298
299 @classmethod
300 def injectConnectionClasses(
301 cls,
302 httpConnectionClass: type[HTTPRequestsConnectionClass],
303 httpsConnectionClass: type[HTTPSRequestsConnectionClass],
304 ) -> None:
305 cls.__persist = False
306 cls.__httpConnectionClass = httpConnectionClass
307 cls.__httpsConnectionClass = httpsConnectionClass
308
309 @classmethod
310 def resetConnectionClasses(cls) -> None:

Callers 1

setUpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected