-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
ref: fix typing for sentry.buffer.base #72809
Conversation
@@ -150,7 +150,7 @@ def process( | |||
# continue | |||
pass | |||
else: | |||
group.update(**update_kwargs) | |||
group.update(using=None, **update_kwargs) |
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 one is a bit annoying, because using
could be passed as a named or positional it could collide with arbitrary names in update_kwargs
so the type checker rejects it. explicitly passing the default here appeases the checker though
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.
what's the annoyance? seems fine to me as it's just overridden if present in update_kwargs
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.
in practice we don't have fields named using
so it couldn't possibly collide
<!-- Describe your PR here. -->
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
No description provided.