Skip to content

Commit

Permalink
Fix 38 problem
Browse files Browse the repository at this point in the history
  • Loading branch information
vhaldemar committed Dec 6, 2024
1 parent d6df026 commit 9814e9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/yandex_cloud_ml_sdk/_types/tuning/datasets.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 9814e9e

Please sign in to comment.