MCPcopy Index your code
hub / github.com/dask/dask / __init__

Method __init__

dask/layers.py:101–103  ·  view source on GitHub ↗
(self, chunks: tuple[tuple[int, ...], ...], values: np.ndarray | dict)

Source from the content-addressed store, hash-verified

99
100class ArrayValuesDep(ArrayBlockwiseDep):
101 def __init__(self, chunks: tuple[tuple[int, ...], ...], values: np.ndarray | dict):
102 super().__init__(chunks)
103 self.values = values
104
105 def __getitem__(self, idx: tuple):
106 return self.values[idx]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected