Skip to content

Commit fd3e999

Browse files
Fix ruff formatting for SamplingMessageContentBlock type alias
1 parent 2d24c3a commit fd3e999

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mcp/types.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,7 @@ class ToolResultContent(BaseModel):
844844
model_config = ConfigDict(extra="allow")
845845

846846

847-
SamplingMessageContentBlock: TypeAlias = (
848-
TextContent | ImageContent | AudioContent | ToolUseContent | ToolResultContent
849-
)
847+
SamplingMessageContentBlock: TypeAlias = TextContent | ImageContent | AudioContent | ToolUseContent | ToolResultContent
850848
"""Content block types allowed in sampling messages."""
851849

852850

0 commit comments

Comments
 (0)