Download lib/python3.12/site-packages/datasets/utils/typing.py from parallel-reasoner/env-full: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/parallel-reasoner/env-full/resolve/b7f3eae63e243d6cdeeb4bf3ea233ae95cf99cc8/lib/python3.12/site-packages/datasets/utils/typing.py
- Command line
-
hf download hf://parallel-reasoner/env-full@b7f3eae63e243d6cdeeb4bf3ea233ae95cf99cc8/lib/python3.12/site-packages/datasets/utils/typing.py
-
curl -L -o typing.py https://huggingface.co/parallel-reasoner/env-full/resolve/b7f3eae63e243d6cdeeb4bf3ea233ae95cf99cc8/lib/python3.12/site-packages/datasets/utils/typing.py
205 Bytes
| import os | |
| from typing import TypeVar, Union | |
| T = TypeVar("T") | |
| ListLike = Union[list[T], tuple[T, ...]] | |
| NestedDataStructureLike = Union[T, list[T], dict[str, T]] | |
| PathLike = Union[str, bytes, os.PathLike] | |