Skip to content

Conversation

TomAugspurger
Copy link

@TomAugspurger TomAugspurger commented Sep 19, 2022

Retries on failed HTTP requests to the SAS API.

Parameter names are taken from azure.core: https://learn.microsoft.com/en-us/azure/developer/python/sdk/azure-sdk-library-usage-patterns?tabs=pip#arguments-for-libraries-based-on-azurecore.

For now, I've chosen not to propagate these HTTP keywords through the rest of the API (like .sign) so you'll get retries whether you like it or not.

If / when we deem that a problem, we should consider a design (or maybe using the implementation of) azure-core: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md

Closes #44

@TomAugspurger TomAugspurger merged commit cee0aae into main Sep 29, 2022
@TomAugspurger TomAugspurger deleted the feature/retry branch September 29, 2022 14:12
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.

Add retry / backoff logic

1 participant