fetch: introduce --max-size (#9696)

Needed for iterative/studio#4782
This commit is contained in:
Ruslan Kuprieiev
2023-07-04 02:17:53 +03:00
committed by GitHub
parent 541def388b
commit 8661abf224
4 changed files with 23 additions and 1 deletions
+3
View File
@@ -18,6 +18,8 @@ def test_fetch(mocker, dvc):
"--with-deps",
"--recursive",
"--run-cache",
"--max-size",
"10",
]
)
assert cli_args.func == CmdDataFetch
@@ -37,6 +39,7 @@ def test_fetch(mocker, dvc):
with_deps=True,
recursive=True,
run_cache=True,
max_size=10,
)