Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop lock from params_show and metrics_show #10174

Merged
merged 1 commit into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading