Fix python snippet in Core architecture (#232)
`asyncio.run` expects a coroutine, not a function.
This commit is contained in:
parent
e5150691f4
commit
7bb924af6d
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ Here's a basic example of implementing an MCP server:
|
||||||
)
|
)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
asyncio.run(main)
|
asyncio.run(main())
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue