plots: fix the dictionary to return PathInfos (#6830)

This commit is contained in:
Batuhan Taskaya
2021-10-18 22:04:21 +02:00
committed by GitHub
parent 4f16852005
commit c08655ac38
+2 -1
View File
@@ -20,6 +20,7 @@ from dvc.utils.serialize import LOADERS
if TYPE_CHECKING:
from dvc.output import Output
from dvc.repo import Repo
from dvc.types import DvcPath
logger = logging.getLogger(__name__)
@@ -204,7 +205,7 @@ def _collect_plots(
targets: List[str] = None,
rev: str = None,
recursive: bool = False,
) -> Dict[str, Dict]:
) -> Dict["DvcPath", Dict]:
from dvc.repo.collect import collect
plots, path_infos = collect(