iterative/dvc

View on GitHub
dvc/types.py

Summary

Maintainability
A
0 mins
Test Coverage
from typing import TYPE_CHECKING, Any, AnyStr, Union

if TYPE_CHECKING:
    from os import PathLike

StrPath = Union[str, "PathLike[str]"]
BytesPath = Union[bytes, "PathLike[bytes]"]
GenericPath = Union[AnyStr, "PathLike[AnyStr]"]
StrOrBytesPath = Union[str, bytes, "PathLike[str]", "PathLike[bytes]"]

TargetType = Union[list[str], str]
DictStrAny = dict[str, Any]