feat: add version string parameter to 'create_initialization_options'
This commit is contained in:
parent
e691c511ab
commit
937c640f04
1 changed files with 5 additions and 10 deletions
|
|
@ -135,14 +135,7 @@ async def run():
|
|||
await server.run(
|
||||
read_stream,
|
||||
write_stream,
|
||||
InitializationOptions(
|
||||
server_name="example",
|
||||
server_version="0.1.0",
|
||||
capabilities=server.get_capabilities(
|
||||
notification_options=NotificationOptions(),
|
||||
experimental_capabilities={},
|
||||
)
|
||||
)
|
||||
server.create_initialization_options("0.1.0")
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in a new issue