Skip to content

Commit 6c48287

Browse files
committed
updates the progress bar final count if initially the total count is not picked up
1 parent ffdab34 commit 6c48287

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

servicex/query_core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ async def transform_status_listener(
381381
progress.update(
382382
progress_task,
383383
progress_bar_title,
384+
total=self.current_status.files,
384385
completed=self.current_status.files_completed,
385386
)
386387

@@ -397,6 +398,7 @@ async def transform_status_listener(
397398
progress.update(
398399
progress_task,
399400
progress_bar_title,
401+
self.current_status.files,
400402
completed=self.current_status.files_completed,
401403
bar=bar)
402404
return

0 commit comments

Comments
 (0)