MCPcopy
hub / github.com/dask/dask / test_delayed_kwargs_apply

Function test_delayed_kwargs_apply

dask/tests/test_dot.py:310–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308
309
310def test_delayed_kwargs_apply():
311 def f(x, y=True):
312 return x + y
313
314 x = delayed(f)(1, y=2)
315 label = task_label(x.dask[x.key])
316 assert "f" in label
317 assert "apply" not in label
318
319
320@pytest.mark.parametrize("viz_func", [to_graphviz, _to_cytoscape_json])

Callers

nothing calls this directly

Calls 2

delayedFunction · 0.90
task_labelFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…