pasteur.utils.data.to_chunked

Contents

pasteur.utils.data.to_chunked#

pasteur.utils.data.to_chunked(func, /)[source]#

Makes wrapped function lazy evaluate. If args contain forms of LazyDataset, a set of lazy functions are returned, each one loading one partition.

Return type:

Callable[[ParamSpec(P)], set[Callable[..., TypeVar(A)]]]