MCPcopy
hub / github.com/dask/dask / test_reference_remote

Function test_reference_remote

dask/tests/test_task_spec.py:199–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197
198
199def test_reference_remote():
200 t1 = Task("key-1", func, "a", "b")
201 t2 = Task("key-2", func2, TaskRef("key-1"), "c")
202 with pytest.raises(RuntimeError):
203 t2()
204 assert t2({"key-1": t1()}) == func2(func("a", "b"), "c")
205
206
207def test_reference_remote_twice_same():

Callers

nothing calls this directly

Calls 4

TaskClass · 0.90
TaskRefClass · 0.90
func2Function · 0.70
funcFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…