From 3c2818459339fcd8dcabdb72e351c1a9708ef508 Mon Sep 17 00:00:00 2001 From: HibiKier <45528451+HibiKier@users.noreply.github.com> Date: Mon, 16 Jun 2025 09:18:07 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhenxun/utils/http_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zhenxun/utils/http_utils.py b/zhenxun/utils/http_utils.py index c98326b7..7656a92e 100644 --- a/zhenxun/utils/http_utils.py +++ b/zhenxun/utils/http_utils.py @@ -24,7 +24,7 @@ from zhenxun.utils.user_agent import get_user_agent # from .browser import get_browser -def get_async_client(proxies=None, **kwargs): +def get_async_client(proxies: dict[str, str] | None = None, **kwargs): transport = httpx.AsyncHTTPTransport(verify=False) try: return httpx.AsyncClient(proxies=proxies, transport=transport, **kwargs)