Skip to content

Commit

Permalink
drop lock from params_show and metrics_show
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored and efiop committed Dec 25, 2023
1 parent cf8195c commit f2b56bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dvc/repo/metrics/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
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
Expand Down Expand Up @@ -185,7 +184,6 @@ def _hide_workspace(
return res


@locked
def show(
repo: "Repo",
targets: Optional[List[str]] = None,
Expand Down
2 changes: 0 additions & 2 deletions dvc/repo/params/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

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
Expand Down Expand Up @@ -158,7 +157,6 @@ def _gather_params(
return data


@locked
def show(
repo: "Repo",
targets: Optional[List[str]] = None,
Expand Down

0 comments on commit f2b56bb

Please sign in to comment.