Skip to content

Commit cee9f42

Browse files
committed
type anotation
1 parent 5e894d4 commit cee9f42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openml/tasks/split.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868

6969
def _get_repr_body_fields(self) -> Sequence[tuple[str, str | int | list[str] | None]]:
7070
"""Collect all information to display in the __repr__ body."""
71-
fields = {
71+
fields: dict[str, int | str | None] = {
7272
"Name": self.name,
7373
"Description": (
7474
self.description if len(self.description) <= 80 else self.description[:77] + "..."

0 commit comments

Comments
 (0)