File size: 205 Bytes
9c6594c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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]