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

Function end_callback

dask/tests/test_local.py:128–132  ·  view source on GitHub ↗
(key, value, d, state, worker_id)

Source from the content-addressed store, hash-verified

126 assert isinstance(state, dict)
127
128 def end_callback(key, value, d, state, worker_id):
129 assert key == "a" or key is None
130 assert value == 2 or value is None
131 assert d == dsk
132 assert isinstance(state, dict)
133
134 get(dsk, "a", start_callback=start_callback, end_callback=end_callback)
135

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected