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

Function my_getitem

dask/array/tests/test_array_core.py:2979–2982  ·  view source on GitHub ↗
(a, ind)

Source from the content-addressed store, hash-verified

2977 called = False
2978
2979 def my_getitem(a, ind):
2980 nonlocal called
2981 called = True
2982 return a[ind]
2983
2984 xx = MyArray(x) if wrap else x
2985 y = da.from_array(xx, chunks=(5,), getitem=my_getitem, inline_array=inline_array)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected