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: allow custom event type representation #443

Open
amorenoz opened this issue Nov 7, 2024 · 0 comments
Open

Python: allow custom event type representation #443

amorenoz opened this issue Nov 7, 2024 · 0 comments

Comments

@amorenoz
Copy link
Contributor

amorenoz commented Nov 7, 2024

Currently all event types are represented (i.e: repr) using their debug format. This is auto-generated by the event_type proc macro.

It would be nice to allow some event types to customize the way they are represented in python. Maybe passing a flag to the proc macro, e.g: #[event_section(py_no_repr)] to indicate repr should not be auto-generated and leaving it to the event type to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant