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 73dedb1 commit 7494593Copy full SHA for 7494593
codegen/smithy-python-codegen/src/main/java/software/amazon/smithy/python/codegen/ClientGenerator.java
@@ -334,7 +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:
+ current_body = context_with_transport_request.transport_request.body
338
+ if (seek := getattr(current_body, "seek", None)) is not None:
339
await seek(0)
340
else:
341
# Step 8: Invoke record_success
0 commit comments