MCPcopy
hub / github.com/gpustack/gpustack / __exit__

Method __exit__

gpustack/client/generated_http_client.py:124–126  ·  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

122 return self
123
124 def __exit__(self, *args: Any, **kwargs: Any) -> None:
125 """Exit a context manager for internal httpx.Client (see httpx docs)"""
126 self.get_httpx_client().__exit__(*args, **kwargs)
127
128 def set_async_httpx_client(self, async_client: httpx.AsyncClient) -> "HTTPClient":
129 """Manually the underlying httpx.AsyncClient

Callers 1

__exit__Method · 0.45

Calls 1

get_httpx_clientMethod · 0.95

Tested by

no test coverage detected