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

Function nested_call

dask/tests/test_callbacks.py:89–92  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

87 inner_dsk = {"x": (add, 1, 2), "y": (add, "x", 3)}
88
89 def nested_call(x):
90 assert not Callback.active
91 with inner_callback:
92 return get_threaded(inner_dsk, "y") + x
93
94 outer_callback = MyCallback()
95 outer_dsk = {"a": (nested_call, 1), "b": (add, "a", 2)}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected