mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
Intermediate PR in removing path_info from our code base. It is completely removed from the main codebase and is still being used in tests, which will be migrated in the followups. For fs-specific simple path manipulation, we've introduced `fs.path` helper (similar to `os.path`). Fixes #6774
13 lines
295 B
Python
13 lines
295 B
Python
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
|
|
|
|
if TYPE_CHECKING:
|
|
from os import PathLike
|
|
|
|
StrPath = Union[str, "PathLike[str]"]
|
|
AnyPath = Union[str, StrPath]
|
|
|
|
OptStr = Optional[str]
|
|
TargetType = Union[List[str], str]
|
|
DictStrAny = Dict[str, Any]
|
|
DictAny = Dict[Any, Any]
|