-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Remove unused reverse argument in SmallestPerKey
#27621
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #27621 +/- ##
=======================================
Coverage 71.09% 71.09%
=======================================
Files 859 859
Lines 104545 104545
=======================================
+ Hits 74323 74326 +3
+ Misses 28664 28661 -3
Partials 1558 1558
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Assigning reviewers. If you would like to opt out of this review, comment R: @AnandInguva for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
|
Do you think it was kept to preserve backward compatibility? Let's add a note in the changes.md if possible |
|
I think it was a mistake when adding the I can add a note in changes.md, although I'm not sure where's the best place: in theory, it's a potentially breaking if anyone is calling that function with that argument (even though it doesn't do anything) but that feels a bit heavy for this change. Wdyt? |
|
Reminder, please take a look at this pr: @AnandInguva |
|
I would leave it like this if it can be a breaking change. We also have a beam/sdks/python/apache_beam/io/avroio.py Line 141 in ab93fb1
|
|
Reminder, please take a look at this pr: @AnandInguva |
|
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @tvalentyn for label python. Available commands:
|
|
Thanks for the feedback, I can update the PR to just add this in the docstring and keep the function signature the same for backwards compatibility. |
|
LGTM |
Remove unused
reverseargument in the SmallestPerKey PTransform as it is a convenience Transform wrappingTop.PerKey.Similarly, the
Smallestvariant also does not have areverseargument.beam/sdks/python/apache_beam/transforms/combiners.py
Line 305 in cbe2e0f
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.