Skip to content

Commit

Permalink
support ak.str called on dak collections
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Sep 6, 2023
1 parent e1aa0c3 commit 653eab2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/dask_awkward/lib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,12 @@ def __awkward_function__(self, func, array_likes, args, kwargs):
try:
fn = getattr(dask_awkward, fn_name)
except AttributeError:
return NotImplemented
try:
import dask_awkward.lib.str

fn = getattr(dask_awkward.str, fn_name)
except AttributeError:
return NotImplemented
return fn(*args, **kwargs)

def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
Expand Down

0 comments on commit 653eab2

Please sign in to comment.