Skip to content

Commit

Permalink
remove tqdm (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
generall authored Aug 26, 2022
1 parent 8b9fcd6 commit e462acb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions qdrant_client/qdrant_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import numpy as np
from loguru import logger
from tqdm import tqdm

from qdrant_client import grpc
from qdrant_client.conversions import common_types as types
Expand Down Expand Up @@ -1104,11 +1103,11 @@ def _upload_collection(

if parallel == 1:
updater = self._updater_class.start(**updater_kwargs)
for _ in tqdm(updater.process(batches_iterator)):
for _ in updater.process(batches_iterator):
pass
else:
pool = ParallelWorkerPool(parallel, self._updater_class, start_method=start_method)
for _ in tqdm(pool.unordered_map(batches_iterator, **updater_kwargs)):
for _ in pool.unordered_map(batches_iterator, **updater_kwargs):
pass

def upload_records(
Expand Down

0 comments on commit e462acb

Please sign in to comment.