Skip to content

Commit

Permalink
Merge branch 'add-support-for-async-rest-streaming' of github.com:goo…
Browse files Browse the repository at this point in the history
…gleapis/python-api-core into add-support-for-async-rest-streaming
  • Loading branch information
ohmayr committed Aug 23, 2024
2 parents db7cfb3 + 75ae7d7 commit 9da0113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/api_core/rest_streaming_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def cancel(self):

async def __anext__(self):
while not self._ready_objs:
try:
try:
chunk = await self._response_itr.__anext__()
chunk = chunk.decode("utf-8")
self._process_chunk(chunk)
Expand Down

0 comments on commit 9da0113

Please sign in to comment.