-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[core][state] Case insensitive match for string value for state API filter. #34577
[core][state] Case insensitive match for string value for state API filter. #34577
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.
can you update the docstring it is case insensitive? (the CLI docstring)
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
|
TODO |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
|
Oops this slipped from the GA - @rkooo567 but I feel we could still get this in? Maybe add a change log in the docstring to document this like python does for each function. |
yeah I think this makes more sense! |
merge conflict? |
A usability improvement for state API, would be great to get this in. cc @zhe-thoughts TODO: waiting for test results. Adding |
Test failures unrelated. |
…ilter. (ray-project#34577) --------- Signed-off-by: Ricky Xu <xuchen727@hotmail.com> Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
…ilter. (ray-project#34577) --------- Signed-off-by: Ricky Xu <xuchen727@hotmail.com>
…ilter. (ray-project#34577) --------- Signed-off-by: Ricky Xu <xuchen727@hotmail.com> Signed-off-by: Jim Thompson <jimthompson5802@gmail.com>
…ilter. (ray-project#34577) --------- Signed-off-by: Ricky Xu <xuchen727@hotmail.com> Signed-off-by: Victor <vctr.y.m@example.com>
Why are these changes needed?
Ran into an unexpected failure on #34554, where the query changes as we changes one of the value from (
Worker
toWORKER
)I think state API filtering could be less strict about case sensitivity, and I feel loosing it altogether would be ok and more usable.
I can hardly think of a usecase where case sensitivity on some fields would be useful. Of course, we could add a flag to the API to toggle this behaviour.
Related issue number
Closes #34554
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.