MCPcopy Create free account
hub / github.com/google/adk-python / aclose

Method aclose

src/google/adk/models/apigee_llm.py:453–458  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

451 self._cleanup_client(self._client)
452
453 async def aclose(self) -> None:
454 if '_client' not in self.__dict__:
455 return
456 if self._client.is_closed:
457 return
458 await self._client.aclose()
459
460 def _get_retry_kwargs(self) -> dict[str, Any]:
461 """Returns the retry kwargs for tenacity."""

Callers 4

closeMethod · 0.45
_cleanup_clientMethod · 0.45
_run_async_implMethod · 0.45
cleanupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected