BlockwiseDep ``__getitem__`` Wrapper
(self, idx: tuple[int, ...], default)
| 54 | ) |
| 55 | |
| 56 | def get(self, idx: tuple[int, ...], default) -> Any: |
| 57 | """BlockwiseDep ``__getitem__`` Wrapper""" |
| 58 | try: |
| 59 | return self.__getitem__(idx) |
| 60 | except KeyError: |
| 61 | return default |
| 62 | |
| 63 | @property |
| 64 | def produces_keys(self) -> bool: |