fastmcp/tests
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
..
auth Update docs and test 2025-06-20 13:06:48 -04:00
cli Fix event loop conflict in inspect CLI command 2025-06-21 20:04:39 -04:00
client Implement client-side argument serialization with focused tests 2025-06-22 10:18:48 -04:00
contrib Add audio support 2025-06-14 08:59:48 -04:00
deprecated Update docs and test 2025-06-20 13:06:48 -04:00
prompts Fix pyright type checking issues in tests 2025-06-22 09:55:40 -04:00
resources Update docs and tests 2025-06-19 17:06:54 -04:00
server Fix pyright type checking issues in tests 2025-06-22 09:55:40 -04:00
test_servers Update tests for prompts 2025-06-04 16:37:41 -04:00
tools Update docs and tests 2025-06-19 17:06:54 -04:00
utilities Fix event loop conflict in inspect CLI command 2025-06-21 20:04:39 -04:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Only apply log config to FastMCP loggers 2025-04-14 15:45:05 -04:00
test_examples.py Update test typing 2025-05-31 20:41:18 -04:00