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 5e894d4 commit cee9f42Copy full SHA for cee9f42
1 file changed
openml/tasks/split.py
@@ -68,7 +68,7 @@ def __init__(
68
69
def _get_repr_body_fields(self) -> Sequence[tuple[str, str | int | list[str] | None]]:
70
"""Collect all information to display in the __repr__ body."""
71
- fields = {
+ fields: dict[str, int | str | None] = {
72
"Name": self.name,
73
"Description": (
74
self.description if len(self.description) <= 80 else self.description[:77] + "..."
0 commit comments