Skip to content

Commit

Permalink
Add missing await for googleapis#2853
Browse files Browse the repository at this point in the history
  • Loading branch information
qxcv authored Oct 26, 2023
1 parent 8e42bc5 commit 27f0188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/aiplatform/_streaming_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def predict_stream_of_tensor_lists_from_single_tensor_list_async(
inputs=tensor_list,
parameters=parameters_tensor,
)
async for response in prediction_service_async_client.server_streaming_predict(
async for response in await prediction_service_async_client.server_streaming_predict(
request=request
):
yield response.outputs
Expand Down

0 comments on commit 27f0188

Please sign in to comment.