From 9814e9e7e339fd98891584b96a68d0fef2428475 Mon Sep 17 00:00:00 2001 From: Vladimir Lipkin Date: Fri, 6 Dec 2024 16:53:27 +0300 Subject: [PATCH] Fix 38 problem --- src/yandex_cloud_ml_sdk/_types/tuning/datasets.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/yandex_cloud_ml_sdk/_types/tuning/datasets.py b/src/yandex_cloud_ml_sdk/_types/tuning/datasets.py index 733e60c..44e2224 100644 --- a/src/yandex_cloud_ml_sdk/_types/tuning/datasets.py +++ b/src/yandex_cloud_ml_sdk/_types/tuning/datasets.py @@ -1,15 +1,14 @@ from __future__ import annotations -from collections.abc import Iterable from numbers import Number -from typing import Dict, Tuple, Union +from typing import Dict, Iterable, Tuple, Union from yandex_cloud_ml_sdk._datasets.dataset import BaseDataset DatasetType = Union[str, BaseDataset] WeightedDatasetType = Tuple[DatasetType, float] TuningDatasetType = Union[DatasetType, WeightedDatasetType] -TuningDatasetsType = TuningDatasetType, Iterable[TuningDatasetType], Dict[DatasetType, float] +TuningDatasetsType = Union[TuningDatasetType, Iterable[TuningDatasetType], Dict[DatasetType, float]] ERROR_TEXT = ' '.join("""datasets must contain string with dataset ID,