dask_awkward.dask_method

Contents

dask_awkward.dask_method#

dask_awkward.dask_method(maybe_func: F, *, no_dispatch: bool = False) _DaskMethod[source]#
dask_awkward.dask_method(maybe_func: None = None, *, no_dispatch: bool = False) Callable[[F], _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