mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🎨 代码格式化
This commit is contained in:
parent
1306195016
commit
3c28184593
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user