Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dask/dask
/ test_task_nested
Function
test_task_nested
dask/tests/test_task_spec.py:224–227 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
222
223
224
def
test_task_nested():
225
t1 = Task(
"key-1"
, func,
"a"
,
"b"
)
226
t2 = Task(
"key-2"
, func2, t1,
"c"
)
227
assert t2() == func2(func(
"a"
,
"b"
),
"c"
)
228
229
230
class
SerializeOnlyOnce:
Callers
nothing calls this directly
Calls
3
Task
Class · 0.90
func2
Function · 0.70
func
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…