Skip to content

Commit f0f8671

Browse files
MirjalilovSskshetry
authored andcommitted
experiments: add --hide-workspace flag to exp show
Adds a new --hide-workspace CLI flag to dvc exp show to allow hiding the workspace row from the output table. Fixes #10741.
1 parent df5f12c commit f0f8671

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dvc/commands/experiments/show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def run(self):
150150
all_commits=self.args.all_commits,
151151
hide_queued=self.args.hide_queued,
152152
hide_failed=self.args.hide_failed,
153-
hide_workspace=self.args.hide_workspace, # flag
153+
hide_workspace=self.args.hide_workspace,
154154
revs=self.args.rev,
155155
num=self.args.num,
156156
sha_only=self.args.sha,

dvc/repo/experiments/show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def show(
4343
num=num,
4444
hide_queued=hide_queued,
4545
hide_failed=hide_failed,
46-
hide_workspace=hide_workspace, # flag
46+
hide_workspace=hide_workspace,
4747
sha_only=sha_only,
4848
**kwargs,
4949
)

0 commit comments

Comments
 (0)