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

Function my_func

dask/array/tests/test_xarray.py:143–147  ·  view source on GitHub ↗
(a: np.ndarray)

Source from the content-addressed store, hash-verified

141 total_calls = 0
142
143 def my_func(a: np.ndarray) -> np.ndarray:
144 nonlocal total_calls
145 with lock:
146 total_calls += 1
147 return a
148
149 in1 = da.zeros((5, 5), chunks=2)
150 res = da.map_blocks(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected