Files
dvc/dvc/types.py
T

14 lines
320 B
Python

from typing import TYPE_CHECKING, List, Optional, Union
from dvc.path_info import PathInfo, URLInfo
if TYPE_CHECKING:
from os import PathLike
StrPath = Union[str, "PathLike[str]"]
DvcPath = Union[PathInfo, URLInfo]
AnyPath = Union[str, DvcPath, StrPath]
OptStr = Optional[str]
TargetType = Union[List[str], str]