Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: resolve mypy type error in _to_dict return type
  • Loading branch information
AffanBasra committed Feb 21, 2026
commit d4e337c73f0e9140c224bcfba1bf1ff991102f56
2 changes: 1 addition & 1 deletion openml/setups/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _get_repr_body_fields(
),
]

def _to_dict(self) -> dict[str, dict]:
def _to_dict(self) -> dict[str, Any]: # type: ignore[override]
return {
"setup_id": self.setup_id,
"flow_id": self.flow_id,
Expand Down