Skip to content

[BUG] Test server datasets/get_data results in TooManyRedirects #1737

Description

@L-Agbaria

Using get_data() on the test server results in more than 30 redirects, accessing the dataset directly through the site and querying like the API like normal both function well.

Code snippet:
import openml
openml.config.server = "https://test.openml.org/api/v1/xml"
dataset = openml.datasets.get_dataset("iris")
X, y, categorical_indicator, attribute_names = dataset.get_data()

Output:
--> X, y, categorical_indicator, attribute_names = dataset.get_data()
TooManyRedirects: Exceeded 30 redirects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions