Files
dvc/dvc/types.py
T

13 lines
279 B
Python

from typing import TYPE_CHECKING, 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]