fetch: don't clear pbars

There is more we can do during the `Fetching` stage, but it will
require additional tweaks, so just keeping it simple here.

Similar to https://github.com/iterative/dvc/pull/9974
This commit is contained in:
Ruslan Kuprieiev
2023-09-26 01:27:59 +03:00
parent 18b4d610d6
commit 2e1166d520
+3 -1
View File
@@ -143,6 +143,7 @@ def fetch( # noqa: C901, PLR0913
with ui.progress(
desc="Collecting",
unit="entry",
leave=True,
) as pb:
data = collect(
indexes.values(),
@@ -156,7 +157,8 @@ def fetch( # noqa: C901, PLR0913
with ui.progress(
desc="Fetching",
unit="file",
bar_format="{desc}",
leave=True,
) as pb:
try:
fetch_transferred, fetch_failed = ifetch(