Skip to content

Retry mechanism in fetch_openml #21397

Closed
@ogrisel

Description

@ogrisel

Describe the workflow you want to enable

The purpose of this request is to limit the number of random failures we get in automated executions (e.g. on our CI) caused by unreliable network connections.

Describe your proposed solution

Add a n_retries=3 parameter to fetch_openml. In case of HTTPError, fetch_openml would automatically retry up to n_retries times, waiting 1s between each trial.

Other fetch_* methods could benefit from a similar option.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions