You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can implement using tqdm and the following code snippet inside dispatcher.get_results
if task_ids is None:
task_ids = list(self.tasks.keys())
completed = deque()
task_ids = deque(task_ids)
with tqdm.trange(len(task_ids)) as pbar:
pbar.set_description('Fecthing Tasks Results')
while len(task_ids):
task_id = task_ids[0]
if self.tasks[task_id]['completed']:
completed.append(task_ids.popleft())
pbar.update(1)
The text was updated successfully, but these errors were encountered:
Can implement using tqdm and the following code snippet inside
dispatcher.get_results
The text was updated successfully, but these errors were encountered: