mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-16 12:51:45 +00:00
🐛 Fix httpxrequest timeout param
This commit is contained in:
parent
0a63b8250d
commit
b3c6b622c2
@ -19,7 +19,7 @@ timeout = httpx.Timeout(
|
||||
|
||||
class HTTPXRequest(AbstractAsyncContextManager):
|
||||
def __init__(self, *args, headers=None, **kwargs):
|
||||
self._client = httpx.AsyncClient(headers=headers, timeout=timeout, *args, **kwargs)
|
||||
self._client = httpx.AsyncClient(headers=headers, *args, **kwargs)
|
||||
|
||||
async def __aenter__(self):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user