fastmcp/tests/client
Jeremiah Lowin a7f14d90a4 Implement client-side argument serialization with focused tests
- Add pydantic_core.to_json() serialization for non-string prompt arguments
- Update type annotations to accept dict[str, Any] instead of dict[str, str]
- Add focused tests covering specific scenarios:
  * Client always serializes non-string args regardless of server types
  * Integration with server-side type conversion
  * Client serialization error with specific PydanticSerializationError
  * Server deserialization error with specific McpError match

This ensures MCP protocol compliance while maintaining developer experience
with typed arguments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 10:18:48 -04:00
..
__init__.py clean up test inits 2025-05-31 19:32:08 -04:00
test_client.py Implement client-side argument serialization with focused tests 2025-06-22 10:18:48 -04:00
test_logs.py Remove empty parens 2025-06-04 15:37:55 -04:00
test_openapi.py Update docs and test 2025-06-20 13:06:48 -04:00
test_progress.py Remove empty parens 2025-06-04 15:37:55 -04:00
test_roots.py Remove empty parens 2025-06-04 15:37:55 -04:00
test_sampling.py Remove empty parens 2025-06-04 15:37:55 -04:00
test_sse.py Update docs and test 2025-06-20 13:06:48 -04:00
test_stdio.py Remove empty parens 2025-06-04 15:37:55 -04:00
test_streamable_http.py Update docs and test 2025-06-20 13:06:48 -04:00