Get a new client matching this one with a new timeout (in seconds)
(self, timeout: httpx.Timeout)
| 72 | return evolve(self, cookies={**self._cookies, **cookies}) |
| 73 | |
| 74 | def with_timeout(self, timeout: httpx.Timeout) -> "Client": |
| 75 | """Get a new client matching this one with a new timeout (in seconds)""" |
| 76 | if self._client is not None: |
| 77 | self._client.timeout = timeout |
| 78 | if self._async_client is not None: |
| 79 | self._async_client.timeout = timeout |
| 80 | return evolve(self, timeout=timeout) |
| 81 | |
| 82 | def set_httpx_client(self, client: httpx.Client) -> "Client": |
| 83 | """Manually set the underlying httpx.Client |
nothing calls this directly
no outgoing calls
no test coverage detected