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

Method __iter__

dask/delayed.py:771–775  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

769 raise TypeError("Delayed objects are immutable")
770
771 def __iter__(self):
772 if self._length is None:
773 raise TypeError("Delayed objects of unspecified length are not iterable")
774 for i in range(self._length):
775 yield self[i]
776
777 def __len__(self):
778 if self._length is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected