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

Method __init__

dask/layers.py:62–65  ·  view source on GitHub ↗
(self, chunks: tuple[tuple[int, ...], ...])

Source from the content-addressed store, hash-verified

60 produces_tasks: bool = False
61
62 def __init__(self, chunks: tuple[tuple[int, ...], ...]):
63 self.chunks = chunks
64 self.numblocks = tuple(len(chunk) for chunk in chunks)
65 self.produces_tasks = False
66
67 def __getitem__(self, idx: tuple[int, ...]):
68 raise NotImplementedError("Subclasses must implement __getitem__")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected