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

Method __dask_postcompute__

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

Source from the content-addressed store, hash-verified

630 raise AttributeError("Method requires self.data to be a dask array.")
631
632 def __dask_postcompute__(
633 self,
634 ) -> tuple[PostComputeCallable, tuple[Any, ...]]:
635 if is_duck_dask_array(self._data):
636 array_func, array_args = self._data.__dask_postcompute__() # type: ignore[no-untyped-call]
637 return self._dask_finalize, (array_func,) + array_args
638 else:
639 raise AttributeError("Method requires self.data to be a dask array.")
640
641 def __dask_postpersist__(
642 self,

Callers

nothing calls this directly

Calls 1

is_duck_dask_arrayFunction · 0.90

Tested by

no test coverage detected