Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dwavesystems/dwave-cloud-client
/ wrapper
Method
wrapper
dwave/cloud/utils/decorators.py:357–362 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
355
def
__call__(self, fn):
356
@wraps(fn)
357
def
wrapper(*args, **kwargs):
358
self.start()
359
try
:
360
return
fn(*args, **kwargs)
361
finally:
362
self.stop()
363
364
return
wrapper
365
Callers
nothing calls this directly
Calls
2
start
Method · 0.95
stop
Method · 0.95
Tested by
no test coverage detected