-
Notifications
You must be signed in to change notification settings - Fork 13
Driver NotificationFilter config #533
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
Driver NotificationFilter config #533
Conversation
tests/stub/session_notification_filters/test_driver_notification_filters.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Robsdedude <[email protected]>
…ure/notifications
Co-authored-by: Robsdedude <[email protected]>
`super()` is only necessary when you explicitly want to avoid accessing the child-class.
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.
Works like a charm 🌟
The only thing that could be improved is documenting the notification structure. So maybe instead of having _reduce_notifications
, we add another class like SummaryNotification
to the protocol. See nutkit.protocol.responses.SummaryCounters
for inspiration.
Co-authored-by: Dmitriy Tverdiakov <[email protected]>
Co-authored-by: Dmitriy Tverdiakov <[email protected]>
Iff the driver is configured with a (non-static) auth token manager, it should retry transactions on token expired errors.
Signed-off-by: Florent Biville <[email protected]>
tests/stub/notifications_config/scripts/notifications_config_override_session_begin.script
Outdated
Show resolved
Hide resolved
tests/stub/notifications_config/scripts/notifications_config_override_session_run.script
Outdated
Show resolved
Hide resolved
Co-authored-by: Dmitriy Tverdiakov <[email protected]>
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 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.
Just a small thing about constants
Add tests for: