mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-27 15:51:33 +02:00
Preserve tasks/result payload via permissive result type; fix AnyUrl test import
This commit is contained in:
parent
06ebf7c598
commit
0b7bcdcf85
2 changed files with 25 additions and 4 deletions
|
|
@ -559,13 +559,13 @@ async def mcp_content_server(tmp_path):
|
|||
import base64
|
||||
|
||||
from mcp_types import (
|
||||
AnyUrl,
|
||||
EmbeddedResource,
|
||||
ImageContent,
|
||||
ResourceLink,
|
||||
TextContent,
|
||||
TextResourceContents,
|
||||
)
|
||||
from pydantic import AnyUrl
|
||||
|
||||
mcp = FastMCP("content-test")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue