MCPcopy Index your code
hub / github.com/dask/dask / custom_scheduler

Function custom_scheduler

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

get_syncFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…