-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Replace whitelist terminology to allow list #5328
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
Replace whitelist terminology to allow list #5328
Conversation
Co-authored-by: Sam Harwell <[email protected]>
Co-authored-by: Sam Harwell <[email protected]>
@@ -13,9 +13,9 @@ internal static class RecipeInference | |||
/// </summary> | |||
/// <returns>Array of viable learners.</returns> | |||
public static IEnumerable<SuggestedTrainer> AllowedTrainers(MLContext mlContext, TaskKind task, | |||
ColumnInformation columnInfo, IEnumerable<TrainerName> trainerWhitelist) | |||
ColumnInformation columnInfo, IEnumerable<TrainerName> trainerAllowList) |
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.
If this is a public API, then it could be a source-breaking change for someone who used explicitly named arguments. It wouldn't be a binary-breaking change.
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.
I can't speak to what is or is not part of the current stable public API. If this is not part of the stable public API, then it seems like it would be an easy change to approve.
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.
LGTM. Before merging, can someone verify that this isn't a breaking change -- #5328 (review)
Codecov Report
@@ Coverage Diff @@
## master #5328 +/- ##
==========================================
+ Coverage 73.91% 73.98% +0.07%
==========================================
Files 1019 1019
Lines 190101 190101
Branches 20438 20438
==========================================
+ Hits 140511 140651 +140
+ Misses 44055 43931 -124
+ Partials 5535 5519 -16
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Just for sake of curiosity. I hope this change has nothing to do with poisonous political correctness soaked into IT world? Why renaming a variable was market as a bugfix in release notes? |
No description provided.