We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3937080 commit 431cc1aCopy full SHA for 431cc1a
1 file changed
openml/tasks/functions.py
@@ -19,7 +19,8 @@
19
OpenMLLearningCurveTask,
20
TaskTypeEnum,
21
OpenMLRegressionTask,
22
- OpenMLSupervisedTask
+ OpenMLSupervisedTask,
23
+ OpenMLTask
24
)
25
import openml.utils
26
import openml._api_calls
@@ -299,7 +300,7 @@ def get_tasks(task_ids, download_data=True):
299
300
return tasks
301
302
-def get_task(task_id, download_data=True):
303
+def get_task(task_id: int, download_data: bool = True) -> OpenMLTask:
304
"""Download OpenML task for a given task ID.
305
306
Downloads the task representation, while the data splits can be
0 commit comments