We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12199d commit 73dedb1Copy full SHA for 73dedb1
codegen/smithy-python-codegen/src/main/java/software/amazon/smithy/python/codegen/ClientGenerator.java
@@ -334,6 +334,8 @@ async def _handle_execution(
334
except SmithyRetryException:
335
raise context_with_response.response
336
await sleep(retry_token.retry_delay)
337
+ if (seek := getattr(context_with_transport_request.transport_request.body, "seek")) is not None:
338
+ await seek(0)
339
else:
340
# Step 8: Invoke record_success
341
retry_strategy.record_success(token=retry_token)
0 commit comments