Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: add retries to file downloading (Issue #81) #83

Merged

Conversation

zoidy
Copy link
Collaborator

@zoidy zoidy commented Oct 26, 2023

Description
Adds retries to certain uses of requests.get (notably, when downloading the data files of figshare records).

Fixes #81

Testing (if applicable)
Ran the code and under normal circumstances, it works as before. Code was observed to retry on error conditions. The number of retries is set to 3. If the number of retries is exceeded, the code will abort as before.

@zoidy zoidy linked an issue Oct 26, 2023 that may be closed by this pull request
1 task
@zoidy zoidy changed the title Fix: describe issue fixed (Issue #81) Fix: add retries to file downloading (Issue #81) Oct 26, 2023
@zoidy zoidy merged commit 5f54b8d into main Oct 26, 2023
1 check passed
@zoidy zoidy deleted the 81-bug-connection-errors-during-file-download-are-not-handled branch October 26, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: connection errors during file download are not handled
1 participant