Skip to content

Commit a708347

Browse files
committed
Fix formatting
1 parent 58b989c commit a708347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/fastmcp/utilities/func_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def model_dump_one_level(self) -> dict[str, Any]:
2727
That is, sub-models etc are not dumped - they are kept as pydantic models.
2828
"""
2929
kwargs: dict[str, Any] = {}
30-
for field_name in self.model_fields.keys():
30+
for field_name in self.__class__.model_fields.keys():
3131
kwargs[field_name] = getattr(self, field_name)
3232
return kwargs
3333

0 commit comments

Comments
 (0)