Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit cfae4a7

Browse files
committed
Await seek for AsyncIterable bodies
1 parent 5522fd0 commit cfae4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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: # type: ignore[union-attr]
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: # type: ignore[union-attr]

0 commit comments

Comments
 (0)