push/pull run cache by default

This commit is contained in:
Dave Berenbaum
2024-05-22 08:21:55 -04:00
committed by Dave Berenbaum
parent e82356ba92
commit 0a813bbcbc
3 changed files with 13 additions and 10 deletions
+6 -6
View File
@@ -194,8 +194,8 @@ def add_parser(subparsers, _parent_parser):
)
pull_parser.add_argument(
"--run-cache",
action="store_true",
default=False,
action=argparse.BooleanOptionalAction,
default=True,
help="Fetch run history for all stages.",
)
pull_parser.add_argument(
@@ -262,8 +262,8 @@ def add_parser(subparsers, _parent_parser):
)
push_parser.add_argument(
"--run-cache",
action="store_true",
default=False,
action=argparse.BooleanOptionalAction,
default=True,
help="Push run history for all stages.",
)
push_parser.add_argument(
@@ -324,8 +324,8 @@ def add_parser(subparsers, _parent_parser):
)
fetch_parser.add_argument(
"--run-cache",
action="store_true",
default=False,
action=argparse.BooleanOptionalAction,
default=True,
help="Fetch run history for all stages.",
)
fetch_parser.add_argument(
+4 -2
View File
@@ -1,3 +1,5 @@
import argparse
from dvc.cli import formatter
from dvc.cli.command import CmdBase
from dvc.cli.utils import append_doc_link
@@ -81,8 +83,8 @@ def add_parser(experiments_subparsers, parent_parser):
)
experiments_pull_parser.add_argument(
"--run-cache",
action="store_true",
default=False,
action=argparse.BooleanOptionalAction,
default=True,
help="Pull run history for all stages.",
)
experiments_pull_parser.add_argument(
+3 -2
View File
@@ -1,3 +1,4 @@
import argparse
from typing import Any
from dvc.cli import completion, formatter
@@ -120,8 +121,8 @@ def add_parser(experiments_subparsers, parent_parser):
)
experiments_push_parser.add_argument(
"--run-cache",
action="store_true",
default=False,
action=argparse.BooleanOptionalAction,
default=True,
help="Push run history for all stages.",
)
experiments_push_parser.add_argument(