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

Function test_avoid_cycles

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

Source from the content-addressed store, hash-verified

389
390
391def test_avoid_cycles():
392 pytest.importorskip("distributed")
393 from dask._task_spec import TaskRef
394
395 dsk = {
396 "key": TaskRef("key"), # e.g. a persisted key
397 }
398 new_dsk = convert_and_verify_keys(dsk)
399 assert not new_dsk
400
401
402def test_runnable_as_kwarg():

Callers

nothing calls this directly

Calls 2

TaskRefClass · 0.90
convert_and_verify_keysFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…