From 417e6d4b768393d4aa8694819122aab04c808966 Mon Sep 17 00:00:00 2001 From: Dave Berenbaum Date: Tue, 30 Jul 2024 09:50:49 -0400 Subject: [PATCH] revert to --no-run-cache default for push/pull/fetch --- dvc/commands/data_sync.py | 6 +++--- dvc/commands/experiments/pull.py | 2 +- dvc/commands/experiments/push.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dvc/commands/data_sync.py b/dvc/commands/data_sync.py index bbb8d64ecd..81f573e6b7 100644 --- a/dvc/commands/data_sync.py +++ b/dvc/commands/data_sync.py @@ -195,7 +195,7 @@ def add_parser(subparsers, _parent_parser): pull_parser.add_argument( "--run-cache", action=argparse.BooleanOptionalAction, - default=True, + default=False, help="Fetch run history for all stages.", ) pull_parser.add_argument( @@ -263,7 +263,7 @@ def add_parser(subparsers, _parent_parser): push_parser.add_argument( "--run-cache", action=argparse.BooleanOptionalAction, - default=True, + default=False, help="Push run history for all stages.", ) push_parser.add_argument( @@ -325,7 +325,7 @@ def add_parser(subparsers, _parent_parser): fetch_parser.add_argument( "--run-cache", action=argparse.BooleanOptionalAction, - default=True, + default=False, help="Fetch run history for all stages.", ) fetch_parser.add_argument( diff --git a/dvc/commands/experiments/pull.py b/dvc/commands/experiments/pull.py index a6ef4f455e..c7a97a4665 100644 --- a/dvc/commands/experiments/pull.py +++ b/dvc/commands/experiments/pull.py @@ -84,7 +84,7 @@ def add_parser(experiments_subparsers, parent_parser): experiments_pull_parser.add_argument( "--run-cache", action=argparse.BooleanOptionalAction, - default=True, + default=False, help="Pull run history for all stages.", ) experiments_pull_parser.add_argument( diff --git a/dvc/commands/experiments/push.py b/dvc/commands/experiments/push.py index 0f6f4e7082..505f2b241b 100644 --- a/dvc/commands/experiments/push.py +++ b/dvc/commands/experiments/push.py @@ -122,7 +122,7 @@ def add_parser(experiments_subparsers, parent_parser): experiments_push_parser.add_argument( "--run-cache", action=argparse.BooleanOptionalAction, - default=True, + default=False, help="Push run history for all stages.", ) experiments_push_parser.add_argument(