Skip to content

Commit

Permalink
Remove TypeAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova committed May 21, 2024
1 parent 50e58c2 commit 1f09da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datasets/data_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from functools import partial
from glob import has_magic
from pathlib import Path, PurePath
from typing import Callable, Dict, List, Optional, Set, Tuple, TypeAlias, Union
from typing import Callable, Dict, List, Optional, Set, Tuple, Union

import huggingface_hub
from fsspec.core import url_to_fs
Expand All @@ -22,7 +22,7 @@
from .utils.py_utils import glob_pattern_to_regex, string_to_dict


SingleOriginMetadata: TypeAlias = Union[Tuple[str, str], Tuple[str], Tuple[()]]
SingleOriginMetadata = Union[Tuple[str, str], Tuple[str], Tuple[()]]


SANITIZED_DEFAULT_SPLIT = str(Split.TRAIN)
Expand Down

0 comments on commit 1f09da9

Please sign in to comment.