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

Function toposort

dask/core.py:455–457  ·  view source on GitHub ↗

Return a list of keys of dask sorted in topological order.

(dsk, dependencies=None)

Source from the content-addressed store, hash-verified

453
454
455def toposort(dsk, dependencies=None):
456 """Return a list of keys of dask sorted in topological order."""
457 return _toposort(dsk, dependencies=dependencies)
458
459
460def getcycle(d, keys):

Callers 1

inlineFunction · 0.90

Calls 1

_toposortFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…