mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
drop lock from params_show and metrics_show
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
cf8195c829
commit
f2b56bbb8a
@@ -17,7 +17,6 @@ from funcy import ldistinct
|
|||||||
from scmrepo.exceptions import SCMError
|
from scmrepo.exceptions import SCMError
|
||||||
|
|
||||||
from dvc.log import logger
|
from dvc.log import logger
|
||||||
from dvc.repo import locked
|
|
||||||
from dvc.scm import NoSCMError
|
from dvc.scm import NoSCMError
|
||||||
from dvc.utils import as_posix, expand_paths
|
from dvc.utils import as_posix, expand_paths
|
||||||
from dvc.utils.collections import ensure_list
|
from dvc.utils.collections import ensure_list
|
||||||
@@ -185,7 +184,6 @@ def _hide_workspace(
|
|||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
||||||
@locked
|
|
||||||
def show(
|
def show(
|
||||||
repo: "Repo",
|
repo: "Repo",
|
||||||
targets: Optional[List[str]] = None,
|
targets: Optional[List[str]] = None,
|
||||||
|
|||||||
@@ -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.dependency.param import ParamsDependency, read_param_file
|
||||||
from dvc.log import logger
|
from dvc.log import logger
|
||||||
from dvc.repo import locked
|
|
||||||
from dvc.repo.metrics.show import FileResult, Result
|
from dvc.repo.metrics.show import FileResult, Result
|
||||||
from dvc.stage import PipelineStage
|
from dvc.stage import PipelineStage
|
||||||
from dvc.utils import as_posix, expand_paths
|
from dvc.utils import as_posix, expand_paths
|
||||||
@@ -158,7 +157,6 @@ def _gather_params(
|
|||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
@locked
|
|
||||||
def show(
|
def show(
|
||||||
repo: "Repo",
|
repo: "Repo",
|
||||||
targets: Optional[List[str]] = None,
|
targets: Optional[List[str]] = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user