MCPcopy
hub / github.com/dask/dask / __iter__

Method __iter__

dask/highlevelgraph.py:561–562  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

559 return sum(len(layer) for layer in self.layers.values())
560
561 def __iter__(self) -> Iterator[Key]:
562 return iter(self.to_dict())
563
564 def to_dict(self) -> dict[Key, Any]:
565 """Efficiently convert to plain dict. This method is faster than dict(self)."""

Callers

nothing calls this directly

Calls 1

to_dictMethod · 0.95

Tested by

no test coverage detected