Skip to content

Conversation

@mfeurer
Copy link
Collaborator

@mfeurer mfeurer commented Feb 22, 2023

This change prevents new task types from crashing the Python API, as the new task type ID would not be part of the ENUM, causing a ValueError.

@mfeurer mfeurer requested a review from PGijsbers February 22, 2023 14:34
Copy link
Collaborator

@PGijsbers PGijsbers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accept with minor revision :-)

@mfeurer mfeurer force-pushed the allow_unknown_task_types branch from 6f134b4 to 5152f2b Compare February 23, 2023 09:41
@mfeurer mfeurer force-pushed the allow_unknown_task_types branch from 5152f2b to 8464132 Compare February 23, 2023 09:47
@mfeurer mfeurer requested a review from PGijsbers February 23, 2023 09:48
@PGijsbers PGijsbers merged commit d9850be into develop Feb 23, 2023
@PGijsbers PGijsbers deleted the allow_unknown_task_types branch February 23, 2023 13:07
PGijsbers pushed a commit to Mirkazemi/openml-python that referenced this pull request Feb 23, 2023
* Allow unknown task types on the server

* Applied black to openml/tasks/functions.py

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants