fastmcp/tests/server/middleware
claude[bot] a11e3aba16 Address PR feedback: preserve fields and improve type hints
- Fix no_return_tool docstring to document None return
- Preserve _meta and structuredContent in CallToolRequestResult
- Remove intermediate CallToolResult creation
- Use from_call_tool_result helper in deprecated code
- Add TYPE_CHECKING import and __dir__ for better IDE support
- Update test snapshots to reflect structuredContent preservation

Co-authored-by: William Easton <strawgate@users.noreply.github.com>
2025-10-27 15:24:55 +00:00
..
__init__.py Add single-component methods 2025-06-18 19:47:19 -04:00
test_bulk_tool_caller.py Address PR feedback: preserve fields and improve type hints 2025-10-27 15:24:55 +00:00
test_caching.py PR Clean-up 2025-10-16 21:56:55 -05:00
test_error_handling.py transform NotFoundError to standard MCP error (#2133) 2025-10-18 11:46:57 -04:00
test_initialization_middleware.py Support initialize requests in middleware (#1546) 2025-10-05 10:20:13 -04:00
test_logging.py Implement icon support (#2121) 2025-10-17 17:28:08 -04:00
test_middleware.py Support initialize requests in middleware (#1546) 2025-10-05 10:20:13 -04:00
test_rate_limiting.py Support initialize requests in middleware (#1546) 2025-10-05 10:20:13 -04:00
test_timing.py Use lowercase namespace for fastmcp logger (#1791) 2025-09-26 12:13:02 -04:00
test_tool_injection.py Add ToolInjectionMiddleware + Tools for Read/List Resource/Prompt for Client Compat (#2142) 2025-10-24 18:06:58 -04:00