Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_stream in async client raises RuntimeError processing HTTP errors (#266
) Fixes a bug processing errors in async client. When response in _stream has an HTTP error, the process raises a RuntimeError("Attempted to call a sync iterator on an async stream.") due to use of e.response.read() instead of await e.response.aread()
- Loading branch information