Skip to content

Commit 6e3d2df

Browse files
authored
Apply suggestion from @Kludex
1 parent 701779a commit 6e3d2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/types/_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ class GetTaskPayloadResult(Result):
476476
For example, a tools/call task would return the CallToolResult structure.
477477
"""
478478

479-
model_config = ConfigDict(extra="allow")
479+
model_config = ConfigDict(extra="allow", alias_generator=to_camel, populate_by_name=True)
480480

481481

482482
class CancelTaskRequestParams(RequestParams):

0 commit comments

Comments
 (0)