Skip to content

Commit

Permalink
cleaner way of getting desired node name
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored Dec 17, 2024
1 parent 39eb8f3 commit f1b5d31
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/dask_awkward/lib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1966,13 +1966,7 @@ def __init__(self, the_fn, arg_repackers, kwarg_repacker, arg_lens_for_repackers
self.arg_lens_for_repackers = arg_lens_for_repackers

def __repr__(self):
return (
repr(self.fn)
.replace("<", "")
.replace(">", "")
.replace("function ", "")
.replace("built-in ", "")
) + "-repacked"
return f"{self.fn.__qualname__}-repacked"

def _repack(self, *args_deps_expanded):
"""This packing function receives a list of strictly
Expand Down

0 comments on commit f1b5d31

Please sign in to comment.