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

Function custom_scheduler

dask/array/tests/test_array_utils.py:131–134  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

129 counter = 0 # Counts how many times `custom_scheduler` is executed.
130
131 def custom_scheduler(*args, **kwargs):
132 nonlocal counter
133 counter += 1
134 return get_sync(*args, **kwargs)
135
136 assert_eq(a, b)
137 assert counter == 0

Callers

nothing calls this directly

Calls 1

get_syncFunction · 0.90

Tested by

no test coverage detected