mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
* fix: TransformedTool sync fn crash, schema mutation, output_schema=False - Handle sync transform_fn in run() using is_coroutine_function check instead of unconditionally awaiting (fixes TypeError crash) - Deep copy parent property schemas to prevent mutation corruption - Accept output_schema=False via BeforeValidator (converts to None) - Remove inaccurate docstring claiming str/None shorthand for transform_args Fixes #3821 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Add regression tests for sync transform_fn and schema mutation 🤖 Generated with Claude Code Co-authored-by: Jeremiah Lowin <jeremiah@lowin.dev> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Co-authored-by: Jeremiah Lowin <jeremiah@lowin.dev> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_args.py | ||
| test_metadata.py | ||
| test_schemas.py | ||
| test_tool_transform.py | ||