MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / start

Method start

dwave/cloud/utils/decorators.py:338–344  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

336 """
337
338 def start(self):
339 # lazy import: cached.disabled is rarely used, yet mock import
340 # adds 50ms to root package import
341 from unittest import mock
342
343 self.patcher = mock.patch.object(cached, '_disabled', True)
344 self.patcher.start()
345
346 def stop(self):
347 self.patcher.stop()

Callers 15

__enter__Method · 0.95
wrapperMethod · 0.95
__init__Method · 0.45
run_redirect_flowMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls

no outgoing calls

Tested by 15

setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
test_successMethod · 0.36