drop lock from params_show and metrics_show

This commit is contained in:
dberenbaum
2023-12-25 10:15:38 +02:00
committed by Ruslan Kuprieiev
parent cf8195c829
commit f2b56bbb8a
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -17,7 +17,6 @@ from funcy import ldistinct
from scmrepo.exceptions import SCMError
from dvc.log import logger
from dvc.repo import locked
from dvc.scm import NoSCMError
from dvc.utils import as_posix, expand_paths
from dvc.utils.collections import ensure_list
@@ -185,7 +184,6 @@ def _hide_workspace(
return res
@locked
def show(
repo: "Repo",
targets: Optional[List[str]] = None,
-2
View File
@@ -5,7 +5,6 @@ from typing import TYPE_CHECKING, Any, Dict, Iterator, List, Optional, Tuple, Un
from dvc.dependency.param import ParamsDependency, read_param_file
from dvc.log import logger
from dvc.repo import locked
from dvc.repo.metrics.show import FileResult, Result
from dvc.stage import PipelineStage
from dvc.utils import as_posix, expand_paths
@@ -158,7 +157,6 @@ def _gather_params(
return data
@locked
def show(
repo: "Repo",
targets: Optional[List[str]] = None,