Skip to content

Conversation

@copybara-service
Copy link

Make EventListener a dataclass instead of NamedTuple.

There's no reason for this data type to behave like a tuple, and we only need
attribute access by name that's type-checked at compile time. Dataclasses are
more appropriate for this use-case.

@copybara-service copybara-service bot closed this Jan 29, 2025
@copybara-service copybara-service bot deleted the test_721038225 branch January 29, 2025 19:08
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

Successfully merging this pull request may close these issues.

0 participants