dask_awkward.dask_property

Contents

dask_awkward.dask_property#

dask_awkward.dask_property(maybe_func: Callable, *, no_dispatch: bool = False) _DaskProperty[source]#
dask_awkward.dask_property(maybe_func: None = None, *, no_dispatch: bool = False) Callable[[Callable], _DaskProperty]

An extension of Python’s built-in property that supports registration of a dask getter via .dask.

Parameters:
  • maybe_func (Callable, optional) – The property getter function.

  • no_dispatch (bool) – If True, re-use the main getter function as the Dask implementation

Returns:

The callable dask-awkward aware descriptor factory or the descriptor itself

Return type:

Callable