mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-10-21 04:11:25 +02:00
#4970 started printing parameter defaults and enum values with a bare json.dumps. A schema holding a non-JSON object, such as the datetime.date yaml.safe_load produces for an unquoted `default: 2024-01-01` in an OpenAPI spec, raised TypeError, and because the renderer covers the whole catalog one such parameter failed CodeMode's detailed get_schema and markdown search for every tool. Values now fall back to str(). Claude-Session: https://claude.ai/code/session_01KfHgVhbYEhBCC5eSeqGiuG Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_code_mode.py | ||
| test_code_mode_discovery.py | ||
| test_code_mode_serialization.py | ||
| test_jev_search.py | ||
| test_monty_callback_lifecycle.py | ||