mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 06:54:18 +01:00
Exclude Nones
This commit is contained in:
@@ -18,7 +18,7 @@ async def test_stdio_server():
|
||||
]
|
||||
|
||||
for message in messages:
|
||||
stdin.write(message.model_dump_json() + "\n")
|
||||
stdin.write(message.model_dump_json(by_alias=True, exclude_none=True) + "\n")
|
||||
stdin.seek(0)
|
||||
|
||||
async with stdio_server(
|
||||
|
||||
Reference in New Issue
Block a user