Skip to content

Commit 62c48f8

Browse files
Merge pull request modelcontextprotocol#65 from edenlum/first-server-python-testing-fix
adding async to aenter in AsyncClient
2 parents 225500b + 71db25f commit 62c48f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/first-server/python.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ uvicorn.run(app, host="0.0.0.0", port=8000)
751751
return mock_forecast_response
752752

753753
class AsyncClient():
754-
def __aenter__(self):
754+
async def __aenter__(self):
755755
return self
756756

757757
async def __aexit__(self, *exc_info):

0 commit comments

Comments
 (0)