mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
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:
+3
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user