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

Method __exit__

trainer/src/api_client/client.py:99–101  ·  view source on GitHub ↗

Exit a context manager for internal httpx.Client (see httpx docs)

(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

97 return self
98
99 def __exit__(self, *args: Any, **kwargs: Any) -> None:
100 """Exit a context manager for internal httpx.Client (see httpx docs)"""
101 self.get_httpx_client().__exit__(*args, **kwargs)
102
103 def set_async_httpx_client(self, async_client: httpx.AsyncClient) -> "Client":
104 """Manually the underlying httpx.AsyncClient

Callers 1

__exit__Method · 0.45

Calls 1

get_httpx_clientMethod · 0.95

Tested by

no test coverage detected