Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Drop ak.behavior['.', 'Name'] = cls, which isn't working/isn't tested. #1651

Merged
merged 2 commits into from
Aug 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/awkward/_v2/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,6 @@ def arrayclass(layout, behavior):
cls = behavior[arr]
if isinstance(cls, type) and issubclass(cls, ak._v2.highlevel.Array):
return cls
rec = layout.parameter("__record__")
if isstr(rec):
cls = behavior[".", rec]
if isinstance(cls, type) and issubclass(cls, ak._v2.highlevel.Array):
return cls
deeprec = layout.purelist_parameter("__record__")
if isstr(deeprec):
cls = behavior["*", deeprec]
Expand Down Expand Up @@ -554,11 +549,6 @@ def numba_array_typer(layouttype, behavior):
typer = behavior["__numba_typer__", arr]
if callable(typer):
return typer
rec = layouttype.parameters.get("__record__")
if isstr(rec):
typer = behavior["__numba_typer__", ".", rec]
if callable(typer):
return typer
deeprec = layouttype.parameters.get("__record__")
if isstr(deeprec):
typer = behavior["__numba_typer__", "*", deeprec]
Expand All @@ -574,11 +564,6 @@ def numba_array_lower(layouttype, behavior):
lower = behavior["__numba_lower__", arr]
if callable(lower):
return lower
rec = layouttype.parameters.get("__record__")
if isstr(rec):
lower = behavior["__numba_lower__", ".", rec]
if callable(lower):
return lower
deeprec = layouttype.parameters.get("__record__")
if isstr(deeprec):
lower = behavior["__numba_lower__", "*", deeprec]
Expand Down