-
Notifications
You must be signed in to change notification settings - Fork 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
PUBDEV-7896 - do not discard Keys in h2o.removeAll() command #5137
Conversation
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.
test is missing
Thank you @valenad1 - It's a good move to accept the keys as strings as well.
For tests, the |
Use term 'id' instead of 'key'.
Use term 'id' instead of 'key'.
Documented.
I agree, when user makes a typo in string then something can be accidentally lost without any warning. I improve this behavior to check if provided key is in h2o.ls() and if not then do not perform remove. Please check. If user provide something different than Frame or Model then it also do not perform remove. |
9ca01bf
to
9a404eb
Compare
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.
Thank you!
https://h2oai.atlassian.net/browse/PUBDEV-7896