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

Function my_get

dask/tests/test_base.py:863–866  ·  view source on GitHub ↗
(dsk, keys)

Source from the content-addressed store, hash-verified

861 y = x[:9][1:8][::2] + 1 # normally these slices would be fused
862
863 def my_get(dsk, keys):
864 # but they aren't. +1 for the finalize task
865 assert len(dsk.__dask_graph__()) == len(y.dask) + 1
866 return dask.get(dsk, keys)
867
868 with dask.config.set(array_optimize=None, scheduler=my_get):
869 y.compute()

Callers

nothing calls this directly

Calls 2

__dask_graph__Method · 0.45
getMethod · 0.45

Tested by

no test coverage detected