-
Notifications
You must be signed in to change notification settings - Fork 88
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
events.py #365
base: main
Are you sure you want to change the base?
events.py #365
Conversation
Innovatorcloudy
commented
Oct 25, 2024
- Simplified conditional checks and utilized get for dictionary access
- Added logging statements to key points for better traceability.
- Improved the structure of message transformations, emphasizing clarity and maintainability
@jlowin Sir can you review and merge it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some changes here that are good like class docstrings, some that I think are unnecessary like debug logs for events that are already debug-logged elsewhere, and some that are contrary to how this codebase works, like replacing private validators with public ones and importing List from typing. I would accept the first type but the latter add to cognitive burden.
made the changes suggested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may need a rebase