mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-03 07:18:28 +01:00
tqdm remote.azure
This commit is contained in:
@@ -40,6 +40,11 @@ class Tqdm(tqdm):
|
||||
self.set_description(desc, refresh=False)
|
||||
self.update(n)
|
||||
|
||||
def update_to(self, current, total=None):
|
||||
if total:
|
||||
self.total = total
|
||||
self.update(current - self.n)
|
||||
|
||||
@classmethod
|
||||
def truncate(cls, s, max_len=10, end=True, fill="..."):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user