From 5549072ed032e220208f36dc03f0813af041e16d Mon Sep 17 00:00:00 2001 From: Igor Drozdov Date: Mon, 28 Apr 2025 14:06:05 +0200 Subject: [PATCH] Change client_options type for PredictionServiceAsyncClient - Make it consistent with the doc string - Make it consistent with PredictionServiceClient --- .../aiplatform_v1/services/prediction_service/async_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/cloud/aiplatform_v1/services/prediction_service/async_client.py b/google/cloud/aiplatform_v1/services/prediction_service/async_client.py index cca5013989..8f63f5c7ea 100644 --- a/google/cloud/aiplatform_v1/services/prediction_service/async_client.py +++ b/google/cloud/aiplatform_v1/services/prediction_service/async_client.py @@ -230,7 +230,7 @@ def __init__( Callable[..., PredictionServiceTransport], ] ] = "grpc_asyncio", - client_options: Optional[ClientOptions] = None, + client_options: Optional[Union[ClientOptions, dict]] = None, client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO, ) -> None: """Instantiates the prediction service async client.