You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be partially done for get_X_and_y, at least for dataframe.
The text was updated successfully, but these errors were encountered:
eddiebergman
changed the title
[Typing] get_tasks can be made more explicit in return type with @overload
[Typing] list_tasks can be made more explicit in return type with @overloadJan 7, 2024
By using an
@overload
, onoutput_type: Literal["dict", "dataframe"]
this can be converted used to give the correct type returned.openml-python/openml/tasks/functions.py
Lines 129 to 136 in 56895c2
get_X_and_y
, at least for dataframe.The text was updated successfully, but these errors were encountered: