MCPcopy Create free account
hub / github.com/LaunchPlatform/beanhub-cli / set_httpx_client

Method set_httpx_client

beanhub_cli/internal_api/client.py:82–88  ·  view source on GitHub ↗

Manually set the underlying httpx.Client **NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.

(self, client: httpx.Client)

Source from the content-addressed store, hash-verified

80 return evolve(self, timeout=timeout)
81
82 def set_httpx_client(self, client: httpx.Client) -> "Client":
83 """Manually set the underlying httpx.Client
84
85 **NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
86 """
87 self._client = client
88 return self
89
90 def get_httpx_client(self) -> httpx.Client:
91 """Get the underlying httpx.Client, constructing a new one if not previously set"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected