MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / __aenter__

Method __aenter__

trainer/src/api_client/client.py:261–264  ·  view source on GitHub ↗

Enter a context manager for underlying httpx.AsyncClient—you cannot enter twice (see httpx docs)

(self)

Source from the content-addressed store, hash-verified

259 return self._async_client
260
261 async def __aenter__(self) -> "AuthenticatedClient":
262 """Enter a context manager for underlying httpx.AsyncClient—you cannot enter twice (see httpx docs)"""
263 await self.get_async_httpx_client().__aenter__()
264 return self
265
266 async def __aexit__(self, *args: Any, **kwargs: Any) -> None:
267 """Exit a context manager for underlying httpx.AsyncClient (see httpx docs)"""

Callers

nothing calls this directly

Calls 2

__aenter__Method · 0.45

Tested by

no test coverage detected