refactor(http_request_node): apply DI for http request node (#30509)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
-LAN-
2026-01-14 14:19:48 +08:00
committed by GitHub
parent 14b2e5bd0d
commit 01f17b7ddc
5 changed files with 109 additions and 16 deletions

View File

@ -33,6 +33,10 @@ class MaxRetriesExceededError(ValueError):
pass
request_error = httpx.RequestError
max_retries_exceeded_error = MaxRetriesExceededError
def _create_proxy_mounts() -> dict[str, httpx.HTTPTransport]:
return {
"http://": httpx.HTTPTransport(