Repository navigation
Generate DynamoDB retry defaults like Java - #1005
Merged
Merged
Conversation
kuhe
previously approved these changes
Dec 1, 2026
kuhe
left a comment
Contributor
There was a problem hiding this comment.
no evidence in this PR since the model isn't present here, but ok
DynamoDB and DynamoDB Streams clients apply a plugin that gives the standard and adaptive retry modes DynamoDB's defaults, 4 attempts and a 25 ms backoff scale, unless the config sets them. This mirrors AwsDynamoDbRetryIntegration in the Java generator.
stobrien89
force-pushed
the
python-client-dynamodb-retries
branch
from
December 1, 2026 21:56
09ba8cc to
0ca4034
Compare
kuhe
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes:
Ports
AwsDynamoDbRetryIntegrationfrom the Java generator to the Python generator.DynamoDB and DynamoDB Streams clients get a
retriesmodule withdynamodb_retry_plugin, which each client applies. In the standard and adaptive retry modes, it sets DynamoDB's defaults: 4 attempts and a 25 ms backoff scale with full jitter. An attempt count from config orRetryStrategyOptionsis kept, and a retry strategy the user built is left as is. The generated module matches the Java template.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.