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

Method __init__

dask/blockwise.py:187–190  ·  view source on GitHub ↗
(self, numblocks: tuple[int, ...])

Source from the content-addressed store, hash-verified

185 produces_tasks: bool = False
186
187 def __init__(self, numblocks: tuple[int, ...]):
188 # NOTE: Unused - Just needs to be set to
189 # follow the `BlockwiseDep` interface
190 self.numblocks = numblocks
191
192 def __getitem__(self, idx: tuple[int, ...]) -> tuple[int, ...]:
193 return idx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected