Skip to content

v1.2.1 - Fix mypy strict mode compatibility

Choose a tag to compare

@ESJavadex ESJavadex released this 12 Oct 10:32
· 10 commits to main since this release

πŸ”§ Bug Fix Release

This patch release fixes a type checking error that caused CI failures with mypy strict mode.

πŸ› Fixed

  • mypy strict mode compatibility - Fixed type error where MCP resource was attempting to call a FunctionTool object directly (not callable)
    • Updated list_all_indicators() resource to use ToolExecutor pattern directly
    • Maintains same functionality with proper type safety

βœ… Verified

  • βœ… All 96 tests passing
  • βœ… mypy strict mode check passes (36 source files)
  • βœ… No breaking changes - same API and behavior

πŸ“¦ What's Changed

File: src/ree_mcp/interface/mcp_server.py

  • Fixed line 877: Changed from calling wrapped tool to using ToolExecutor directly
  • Added proper error handling with ResponseFormatter

This is a purely technical fix with no user-facing changes.


Full Changelog: v1.2.0...v1.2.1