MCPcopy
hub / github.com/dask/dask / repack

Function repack

dask/base.py:527–530  ·  view source on GitHub ↗
(results)

Source from the content-addressed store, hash-verified

525 repack_dsk[out] = Task(out, tuple, List(*[_unpack(i) for i in args]))
526
527 def repack(results):
528 dsk = repack_dsk.copy()
529 dsk[collections_token] = DataNode(collections_token, results)
530 return simple_get(dsk, out)
531
532 # The original `collections` is kept alive by the closure
533 # This causes the collection to be only freed by the garbage collector

Callers 6

bindFunction · 0.85
wait_onFunction · 0.85
optimizeFunction · 0.85
computeFunction · 0.85
persistFunction · 0.85
test_unpack_collectionsFunction · 0.85

Calls 2

DataNodeClass · 0.90
copyMethod · 0.45

Tested by 1

test_unpack_collectionsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…