Duke-GCB / Duke-GCB/DukeDSClient

Simplify retry logic using tenacity

Open
#263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5
Forks
6
PR merge metrics
No merged PRs in 30d

Description

The tenacity module was used to add retry logic to PR #261. There are other places in DukeDSClient that should be able to simplify their retry logic using this library.
Some example places:

https://github.com/Duke-GCB/DukeDSClient/blob/48c9f8ba1f87a50bf97cb2756b2d2c6939108800/ddsc/core/fileuploader.py#L201-L204

https://github.com/Duke-GCB/DukeDSClient/blob/5fb7fba5b9b8be48a3c4a1ff772493017b09585f/ddsc/core/ddsapi.py#L45-L51

https://github.com/Duke-GCB/DukeDSClient/blob/5fb7fba5b9b8be48a3c4a1ff772493017b09585f/ddsc/core/ddsapi.py#L1209-L1215

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.