Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Await seek for AsyncIterable bodies #398

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Conversation

nateprewitt
Copy link
Contributor

Description of changes:
We are not properly awaiting the coroutine for seek in the async signing implementation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nateprewitt nateprewitt requested a review from a team as a code owner March 3, 2025 20:51
jonathan343
jonathan343 previously approved these changes Mar 3, 2025
Copy link
Contributor

@jonathan343 jonathan343 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I confirmed the following errors go away when applying these changes to the signer:

RuntimeWarning: coroutine 'SeekableAsyncBytesReader.seek' was never awaited
  body.seek(position)

@nateprewitt nateprewitt merged commit 3a08bd0 into develop Mar 4, 2025
1 check passed
@nateprewitt nateprewitt deleted the signer_seek_fix branch March 4, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants