MCPcopy Index your code
hub / github.com/pydata/xarray / __dask_optimize__

Method __dask_optimize__

xarray/namedarray/core.py:617–623  ·  view source on GitHub ↗
(
        self,
    )

Source from the content-addressed store, hash-verified

615
616 @property
617 def __dask_optimize__(
618 self,
619 ) -> Callable[..., dict[Any, Any]]:
620 if is_duck_dask_array(self._data):
621 return self._data.__dask_optimize__ # type: ignore[no-any-return]
622 else:
623 raise AttributeError("Method requires self.data to be a dask array.")
624
625 @property
626 def __dask_scheduler__(self) -> SchedulerGetCallable:

Callers

nothing calls this directly

Calls 1

is_duck_dask_arrayFunction · 0.90

Tested by

no test coverage detected