Get a new client matching this one with a new timeout (in seconds)
(self, timeout: httpx.Timeout)
| 62 | return evolve(self, cookies={**self._cookies, **cookies}) |
| 63 | |
| 64 | def with_timeout(self, timeout: httpx.Timeout) -> "Client": |
| 65 | """Get a new client matching this one with a new timeout (in seconds)""" |
| 66 | if self._client is not None: |
| 67 | self._client.timeout = timeout |
| 68 | if self._async_client is not None: |
| 69 | self._async_client.timeout = timeout |
| 70 | return evolve(self, timeout=timeout) |
| 71 | |
| 72 | def set_httpx_client(self, client: httpx.Client) -> "Client": |
| 73 | """Manually the underlying httpx.Client |
nothing calls this directly
no outgoing calls
no test coverage detected