mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
fetch: introduce --type metrics/plots
Needed for https://github.com/iterative/studio/pull/6541 but is also generally useful.
This commit is contained in:
@@ -20,6 +20,10 @@ def test_fetch(mocker, dvc):
|
||||
"--run-cache",
|
||||
"--max-size",
|
||||
"10",
|
||||
"--type",
|
||||
"plots",
|
||||
"--type",
|
||||
"metrics",
|
||||
]
|
||||
)
|
||||
assert cli_args.func == CmdDataFetch
|
||||
@@ -40,6 +44,7 @@ def test_fetch(mocker, dvc):
|
||||
recursive=True,
|
||||
run_cache=True,
|
||||
max_size=10,
|
||||
types=["plots", "metrics"],
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user