This commit is contained in:
sidhujus 2025-01-23 10:17:57 +00:00 committed by GitHub
commit adb4e075ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -359,6 +359,7 @@ class APIClient(
if decode:
yield from json_stream(self._stream_helper(response, False))
else:
self._raise_for_status(response)
reader = response.raw
while not reader.closed:
# this read call will block until we get a chunk