linuxdynasty / awsretry Goto Github PK
View Code? Open in Web Editor NEWDecorate your AWS Boto3 Calls with AWSRetry.backoff(). This will allows your calls to get around the AWS Eventual Consistency Errors.
Decorate your AWS Boto3 Calls with AWSRetry.backoff(). This will allows your calls to get around the AWS Eventual Consistency Errors.
My code's target audience is Windows, Linux, and Mac. At the moment I cannot use awsretry because it depends on syslog. (Looks like a great project, thank you!)
Can you please add a license to the software so we know if this is opensource
pypi only has 1.0.0, and it would be useful if we had a new release with the changes in master
This project seems to have a small identity crisis. https://pypi.org/project/gd-awsretry/ says the way to install it is pip install gd-awsretry
. But https://github.com/linuxdynasty/awsretry says to install it by pip install awsretry
. Which is right?
Sometime within the last year, the error code for rate limit errors changed from RateLimitExceeded
to Throttling
. Which, naturally, broke all my python scripts that relied on rate-limit retries.
Add Throttling
to the list of default errors?
Would be great to be able to exclude specific errors.
For instance,
aws_lambda = boto3.client('lambda');
policy = aws_lambda.get_policy(FunctionName='TestFunction')
This will throw a ResourceNotFoundException, which is actually ok.
However, AWSRetry will catch this and retry the call due the match on "^.*NotFound".
A possible fix is the change the regex for not found to "^.*NotFound$", so the error has to end in NotFound, but I suspect that adding an optional exclude list might be better.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.