Skip to content

Commit af8059b

Browse files
committed
[fix] Fix a mypy issue
1 parent 76b4826 commit af8059b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoPyTorch/datasets/base_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def get_splits_from_resampling_strategy(self) -> List[Tuple[List[int], List[int]
234234
self._check_resampling_strategy_args()
235235

236236
labels_to_stratify = self.train_tensors[-1] if self.is_stratify else None
237-
kwargs = {}
237+
kwargs: Dict[str, Any] = {}
238238
kwargs.update(
239239
random_state=self.random_state,
240240
shuffle=self.shuffle_split,

0 commit comments

Comments
 (0)