mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🚨 auto fix by pre-commit hooks
This commit is contained in:
parent
a1512922e5
commit
52abeff343
@ -52,12 +52,8 @@ def get_async_client(
|
|||||||
elif proxy:
|
elif proxy:
|
||||||
return httpx.AsyncClient(
|
return httpx.AsyncClient(
|
||||||
mounts={
|
mounts={
|
||||||
"http://": AsyncHTTPTransport(
|
"http://": AsyncHTTPTransport(proxy=Proxy(proxy)),
|
||||||
proxy=Proxy(proxy)
|
"https://": AsyncHTTPTransport(proxy=Proxy(proxy)),
|
||||||
),
|
|
||||||
"https://": AsyncHTTPTransport(
|
|
||||||
proxy=Proxy(proxy)
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
transport=transport,
|
transport=transport,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user