adding async to aenter in AsyncClient
This commit is contained in:
parent
225500bb93
commit
71db25f786
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue