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

Improve event handling in async stream #213

Merged
merged 1 commit into from
Mar 13, 2022

Conversation

flacjacket
Copy link
Collaborator

Previous changes were made to the async command to allow that to handle
read timeouts better, and to correctly wrap all of the httpx exception
types. Not all of these changes were correctly applied to the async
stream command as well. This change correctly sets this error handling
for all async commands. This has been tested for both normal and
streaming async commands to ensure the proper wrapped exception type is
applied in all cases.

Previous changes were made to the async command to allow that to handle
read timeouts better, and to correctly wrap all of the httpx exception
types. Not all of these changes were correctly applied to the async
stream command as well. This change correctly sets this error handling
for all async commands. This has been tested for both normal and
streaming async commands to ensure the proper wrapped exception type is
applied in all cases.
@flacjacket flacjacket merged commit d6f0296 into tchellomello:master Mar 13, 2022
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.

1 participant