adding async to aenter in AsyncClient

This commit is contained in:
Eden Lumbroso 2024-12-01 18:15:11 +02:00 • committed by GitHub
commit 71db25f786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -751,7 +751,7 @@ uvicorn.run(app, host="0.0.0.0", port=8000)
return mock_forecast_response
class AsyncClient():
def __aenter__(self):
async def __aenter__(self):
return self
async def __aexit__(self, *exc_info):