(
self,
func: Callable[..., Any],
*args: Any,
dtype: _DType_co | None = None,
chunks: tuple[int, ...] | None = None,
drop_axis: int | Sequence[int] | None = None,
new_axis: int | Sequence[int] | None = None,
**kwargs: Any,
)
| 172 | ) # type: ignore[no-untyped-call] |
| 173 | |
| 174 | def map_blocks( |
| 175 | self, |
| 176 | func: Callable[..., Any], |
| 177 | *args: Any, |
| 178 | dtype: _DType_co | None = None, |
| 179 | chunks: tuple[int, ...] | None = None, |
| 180 | drop_axis: int | Sequence[int] | None = None, |
| 181 | new_axis: int | Sequence[int] | None = None, |
| 182 | **kwargs: Any, |
| 183 | ) -> Any: |
| 184 | from dask.array import map_blocks |
| 185 | |
| 186 | # pass through name, meta, token as kwargs |
| 187 | return map_blocks( |
| 188 | func, |
| 189 | *args, |
| 190 | dtype=dtype, |
| 191 | chunks=chunks, |
| 192 | drop_axis=drop_axis, |
| 193 | new_axis=new_axis, |
| 194 | **kwargs, |
| 195 | ) # type: ignore[no-untyped-call] |
| 196 | |
| 197 | def blockwise( |
| 198 | self, |
nothing calls this directly
no test coverage detected