Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #102 from pinecone-io/bugfix/tqdm_print
Browse files Browse the repository at this point in the history
[cli] Bug fix - close pbar properly
  • Loading branch information
acatav authored Oct 25, 2023
2 parents 3a517d0 + 277ecf0 commit 3ee95d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/canopy_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def upsert(index_name: str,
raise CLIError(msg)

pbar.update(len(batch))
pbar.close()

if failed_docs:
msg = (
Expand Down

0 comments on commit 3ee95d2

Please sign in to comment.