diff --git a/pinecone/grpc/index_grpc.py b/pinecone/grpc/index_grpc.py index 3a3d1ed1..fedf8d3b 100644 --- a/pinecone/grpc/index_grpc.py +++ b/pinecone/grpc/index_grpc.py @@ -188,7 +188,8 @@ def upsert_from_dataframe( if use_async_requests: cast_results = cast(List[PineconeGrpcFuture], results) - results = [async_result.result() for async_result in tqdm(cast_results, desc="collecting async responses")] + results = [async_result.result() for async_result in + tqdm(cast_results, disable=not show_progress, desc="collecting async responses")] upserted_count = 0 for res in results: