mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 07:18:27 +01:00
14 lines
320 B
Python
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]
|