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

Function test_inline_cull_dependencies

dask/tests/test_optimization.py:348–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

346
347
348def test_inline_cull_dependencies():
349 d = {"a": 1, "b": "a", "c": "b", "d": ["a", "b", "c"], "e": (add, (len, "d"), "a")}
350
351 d2, dependencies = cull(d, ["d", "e"])
352 inline(d2, {"b"}, dependencies=dependencies)
353
354
355def test_fuse_reductions_single_input():

Callers

nothing calls this directly

Calls 2

cullFunction · 0.90
inlineFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…