MCPcopy Create free account
hub / github.com/dask/dask / get_func

Function get_func

dask/array/tests/test_cupy_core.py:254–258  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

252 called = [False]
253
254 def get_func(*args, **kwargs):
255 assert kwargs.pop("foo") == "test kwarg"
256 r = dask.get(*args, **kwargs)
257 called[0] = True
258 return r
259
260 called[0] = False
261 at = cupy.zeros(shape=(10, 10))

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected