Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions google/genai/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
from . import _interactions

from ._interactions.resources import AsyncInteractionsResource as AsyncNextGenInteractionsResource, InteractionsResource as NextGenInteractionsResource
from ._interactions.resources import WebhooksResource, AsyncWebhooksResource
_interactions_experimental_warned = False

class AsyncGeminiNextGenAPIClientAdapter(_interactions.AsyncGeminiNextGenAPIClientAdapter):
Expand Down Expand Up @@ -199,6 +200,10 @@ def interactions(self) -> AsyncNextGenInteractionsResource:
)
return self._nextgen_client.interactions

@property
def webhooks(self) -> AsyncWebhooksResource:
return self._nextgen_client.webhooks

@property
def _has_nextgen_client(self) -> bool:
return (
Expand Down Expand Up @@ -546,6 +551,10 @@ def interactions(self) -> NextGenInteractionsResource:
)
return self._nextgen_client.interactions

@property
def webhooks(self) -> WebhooksResource:
return self._nextgen_client.webhooks

@property
def _has_nextgen_client(self) -> bool:
return (
Expand Down
Loading