bugfix: pass progress_disabled to super init in PipParallelProgress

This commit is contained in:
Neil Botelho 2023-11-28 00:55:19 +05:30
parent c4c2292962
commit 5ca4fb7768
1 changed files with 5 additions and 0 deletions

View File

@ -219,6 +219,11 @@ class PipProgress(Progress):
class PipParallelProgress(PipProgress):
def __init__(self, refresh_per_second: int, progress_disabled: bool = True):
super().__init__(
refresh_per_second=refresh_per_second, progress_disabled=progress_disabled
)
# Overrides behaviour of logging description on add_task from PipProgress
self.log_download_description = False
super().__init__(refresh_per_second=refresh_per_second)
# Overrides behaviour of logging description on add_task from PipProgress
self.log_download_description = False