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

Function lazify

dask/bag/core.py:150–158  ·  view source on GitHub ↗

Remove unnecessary calls to ``list`` in tasks. See Also -------- dask.bag.core.lazify_task

(dsk)

Source from the content-addressed store, hash-verified

148
149
150def lazify(dsk):
151 """
152 Remove unnecessary calls to ``list`` in tasks.
153
154 See Also
155 --------
156 dask.bag.core.lazify_task
157 """
158 return valmap(lazify_task, dsk)
159
160
161def optimize(dsk, keys, fuse_keys=None, **kwargs):

Callers 2

test_lazifyFunction · 0.90
optimizeFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_lazifyFunction · 0.72