Spaces:
Running
Running
fix ruff
Browse files
src/fastmcp/server/proxy.py
CHANGED
|
@@ -3,16 +3,16 @@ from urllib.parse import quote
|
|
| 3 |
|
| 4 |
import mcp.types
|
| 5 |
from mcp.server.lowlevel.helper_types import ReadResourceContents
|
|
|
|
| 6 |
from mcp.types import (
|
|
|
|
| 7 |
BlobResourceContents,
|
| 8 |
EmbeddedResource,
|
| 9 |
GetPromptResult,
|
| 10 |
ImageContent,
|
| 11 |
TextContent,
|
| 12 |
TextResourceContents,
|
| 13 |
-
METHOD_NOT_FOUND,
|
| 14 |
)
|
| 15 |
-
from mcp.shared.exceptions import McpError
|
| 16 |
from pydantic.networks import AnyUrl
|
| 17 |
|
| 18 |
from fastmcp.client import Client
|
|
|
|
| 3 |
|
| 4 |
import mcp.types
|
| 5 |
from mcp.server.lowlevel.helper_types import ReadResourceContents
|
| 6 |
+
from mcp.shared.exceptions import McpError
|
| 7 |
from mcp.types import (
|
| 8 |
+
METHOD_NOT_FOUND,
|
| 9 |
BlobResourceContents,
|
| 10 |
EmbeddedResource,
|
| 11 |
GetPromptResult,
|
| 12 |
ImageContent,
|
| 13 |
TextContent,
|
| 14 |
TextResourceContents,
|
|
|
|
| 15 |
)
|
|
|
|
| 16 |
from pydantic.networks import AnyUrl
|
| 17 |
|
| 18 |
from fastmcp.client import Client
|