Skip to content

Commit 3a9b7e8

Browse files
sararobcopybara-github
authored andcommitted
chore: change AsyncClient._api_client to inherit from BaseApiClient
PiperOrigin-RevId: 823646790
1 parent 34996a2 commit 3a9b7e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vertexai/_genai/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _add_tracking_headers(headers: dict[str, str]) -> None:
4848
class AsyncClient:
4949
"""Async Gen AI Client for the Vertex SDK."""
5050

51-
def __init__(self, api_client: genai_client.Client):
51+
def __init__(self, api_client: genai_client.BaseApiClient):
5252
self._api_client = api_client
5353
self._live = live.AsyncLive(self._api_client)
5454
self._evals = None

0 commit comments

Comments
 (0)