Skip to content

Commit 7d76074

Browse files
authored
Stop pydantic 2.13 from leaking _WrappedResult docstring into tool output schemas (#3918)
1 parent b732a4a commit 7d76074

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/run-upgrade-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
122122
- **ty (type checker)**: New ty releases frequently add stricter checks that flag previously-accepted code. Run `uv run ty check` locally with the latest ty to reproduce. Fix the type errors or bump the ty version floor in `pyproject.toml`.
123123
- **ruff**: New lint rules or stricter defaults in a ruff upgrade.
124-
- **mcp SDK**: Breaking changes in the `mcp` package (new method signatures, renamed types).
124+
- **MCP SDK**: Breaking changes in the `mcp` package (new method signatures, renamed types).
125125
126126
### What to do
127127

src/fastmcp/tools/function_parsing.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ def _contains_prefab_type(tp: Any) -> bool:
6767

6868
@dataclass
6969
class _WrappedResult(Generic[T]):
70-
"""Generic wrapper for non-object return types."""
71-
7270
result: T
7371

7472

0 commit comments

Comments
 (0)