Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #23357.
I am not sure why we were passing
timeout=delay
and I did not find anything in #21901. They are not really the same thing,delay
is the time to wait for between two attempts,timeout
is the time to wait to get the data.By not passing timeout, we use the default timeout which is "no timeout" (i.e. "wait for ever") by default. You can always use
socket.setdefaulttimeout
if you want to change it.Side-comment: maybe part of the reason we did not see this before is because OpenML started to do some redirections recently (openml.org -> old.openml.org) and for some datasets, that just happens to go over the timeout of 1s we were using. The timeout
_get_data_info_by_name
in the issue OP and in_get_data_features
in my case.