Merge pull request #65 from edenlum/first-server-python-testing-fix

adding async to aenter in AsyncClient
This commit is contained in:
Justin Spahr-Summers 2024-12-02 06:56:43 -06:00 • committed by GitHub
commit 62c48f877d
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):