Skip to content

Commit

Permalink
Add missing type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers committed Sep 29, 2024
1 parent 26ca9b5 commit 2ff431c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openml/tasks/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _get_repr_body_fields(self) -> Sequence[tuple[str, str | int | list[str]]]:
]
return [(key, fields[key]) for key in order if key in fields]

def get_dataset(self, **kwargs) -> datasets.OpenMLDataset:
def get_dataset(self, **kwargs: Any) -> datasets.OpenMLDataset:
"""Download dataset associated with task.
Accepts the same keyword arguments as the `openml.datasets.get_dataset`.
Expand Down

0 comments on commit 2ff431c

Please sign in to comment.