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

Method __len__

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

Source from the content-addressed store, hash-verified

775 yield self[i]
776
777 def __len__(self):
778 if self._length is None:
779 raise TypeError("Delayed objects of unspecified length have no len()")
780 return self._length
781
782 def __call__(self, *args, pure=None, dask_key_name=None, **kwargs):
783 func = delayed(apply, pure=pure)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected