🎨 代码格式化

This commit is contained in:
HibiKier 2025-06-16 09:18:07 +08:00 committed by GitHub
parent 1306195016
commit 3c28184593
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)