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

Function get_func

dask/array/tests/test_array_core.py:2067–2071  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

2065 called = [False]
2066
2067 def get_func(*args, **kwargs):
2068 assert kwargs.pop("foo") == "test kwarg"
2069 r = dask.get(*args, **kwargs)
2070 called[0] = True
2071 return r
2072
2073 called[0] = False
2074 at = np.zeros(shape=(10, 10))

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected