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

Python codegen: generate eq field attribute for np.array types #2650

Closed
Tracked by #2656
abey79 opened this issue Jul 10, 2023 · 1 comment
Closed
Tracked by #2656

Python codegen: generate eq field attribute for np.array types #2650

abey79 opened this issue Jul 10, 2023 · 1 comment
Labels
codegen/idl enhancement New feature or request 🐍 Python API Python logging API

Comments

@abey79
Copy link
Member

abey79 commented Jul 10, 2023

Doing so would enable to rewrite such test:

assert np.all(vec.xyz == np.array([1, 2, 3])

into:

assert vec == Vec3D([1, 2, 3])
@abey79 abey79 added enhancement New feature or request 👀 needs triage This issue needs to be triaged by the Rerun team labels Jul 10, 2023
@emilk emilk added 🐍 Python API Python logging API codegen/idl and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Aug 8, 2023
@abey79
Copy link
Member Author

abey79 commented Oct 21, 2024

unclear

@abey79 abey79 closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen/idl enhancement New feature or request 🐍 Python API Python logging API
Projects
None yet
Development

No branches or pull requests

2 participants