Return Blockwise-function arguments for a specific index
(self, idx: tuple[int, ...])
| 48 | produces_tasks: bool |
| 49 | |
| 50 | def __getitem__(self, idx: tuple[int, ...]) -> Any: |
| 51 | """Return Blockwise-function arguments for a specific index""" |
| 52 | raise NotImplementedError( |
| 53 | "Must define `__getitem__` for `BlockwiseDep` subclass." |
| 54 | ) |
| 55 | |
| 56 | def get(self, idx: tuple[int, ...], default) -> Any: |
| 57 | """BlockwiseDep ``__getitem__`` Wrapper""" |