MCPcopy Create free account
hub / github.com/dask/dask / args

Function args

dask/rewrite.py:19–27  ·  view source on GitHub ↗

Get the arguments for the current task

(task)

Source from the content-addressed store, hash-verified

17
18
19def args(task):
20 """Get the arguments for the current task"""
21
22 if istask(task):
23 return task[1:]
24 elif isinstance(task, list):
25 return task
26 else:
27 return ()
28
29
30class Traverser:

Callers 3

test_argsFunction · 0.90
nextMethod · 0.85
_bottom_upFunction · 0.85

Calls 1

istaskFunction · 0.90

Tested by 1

test_argsFunction · 0.72