fix: close progress bars when save/download fails#434
fix: close progress bars when save/download fails#434voidborne-d wants to merge 3 commits intogoogle:mainfrom
Conversation
|
No linked issues found. Please link an issue in your pull request description or title. Per our Contributing Guidelines, all PRs must:
You can also use cross-repo references like |
|
Your branch is 1 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
…lose-on-exception
|
Quick note: this PR already links the issue in the description via I also refreshed the branch earlier today, and GitHub's update-branch API now reports there are no newer commits on |
|
Your branch is 2 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
Description
Fixes the progress-bar cleanup bug in
langextract/io.pyby closing both the save and download tqdm bars fromfinallyblocks, so generator failures and streaming request errors do not leave terminal state behind.Fixes #401
Bug fix
How Has This Been Tested?
Checklist:
pylintover the affected code.