MCPcopy
hub / github.com/dask/dask / get

Function get

dask/tests/test_base.py:922–924  ·  view source on GitHub ↗
(dsk, keys, *args, **kwargs)

Source from the content-addressed store, hash-verified

920 called = [False]
921
922 def get(dsk, keys, *args, **kwargs):
923 called[0] = True
924 return dask.get(dsk, keys)
925
926 assert delayed(lambda: 1)().compute(scheduler=get) == 1
927 assert called[0]

Callers 7

test_to_bag_frameFunction · 0.90
test_stringifyFunction · 0.90
partial_reduceFunction · 0.50
map_overlapFunction · 0.50
chunksMethod · 0.50
_layerMethod · 0.50
map_overlapFunction · 0.50

Calls 1

getMethod · 0.45

Tested by

no test coverage detected