add to client

This commit is contained in:
Yasir Aris M 2023-10-01 22:14:41 +07:00 committed by GitHub
parent 2ecf5db320
commit 6270fc497e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ fetch = httpx.AsyncClient(
},
timeout=httpx.Timeout(20),
)
app.fetch = fetch
async def get(url: str, *args, **kwargs):