Skip to content

Commit aa69cb7

Browse files
committed
Await seek for AsyncIterable bodies
1 parent 46369b6 commit aa69cb7

File tree

1 file changed

+1
-1
lines changed
  • packages/aws-sdk-signers/src/aws_sdk_signers

1 file changed

+1
-1
lines changed

packages/aws-sdk-signers/src/aws_sdk_signers/signers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ async def _compute_payload_hash(
761761
position = body.tell()
762762
async for chunk in body:
763763
checksum.update(chunk)
764-
body.seek(position)
764+
await body.seek(position)
765765
else:
766766
buffer = io.BytesIO()
767767
async for chunk in body:

0 commit comments

Comments
 (0)