dask_awkward.dask_method
dask_awkward.dask_method¶
- dask_awkward.dask_method(maybe_func: dask_awkward.lib.core.F, *, no_dispatch: bool = 'False') dask_awkward.lib.core._DaskMethod [source]¶
- dask_awkward.dask_method(maybe_func: None = None, *, no_dispatch: bool = 'False') collections.abc.Callable[[dask_awkward.lib.core.F], dask_awkward.lib.core._DaskMethod]
Decorate an instance method to provide a mechanism for overriding the implementation for dask-awkward arrays via .dask.
- Parameters
maybe_func (Callable, optional) – The method implementation to decorate.
no_dispatch (bool) – If True, re-use the main getter function as the Dask implementation
- Returns
The callable dask-awkward aware method.
- Return type
Callable