mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 07:09:11 +02:00
Repoint examples off removed shim paths
This commit is contained in:
parent
be8aee3a96
commit
14373cc60b
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ import qrcode # type: ignore[import-untyped]
|
|||
from mcp import types
|
||||
|
||||
from fastmcp import FastMCP
|
||||
from fastmcp.server.apps import AppConfig, ResourceCSP
|
||||
from fastmcp.apps import AppConfig, ResourceCSP
|
||||
from fastmcp.tools import ToolResult
|
||||
|
||||
VIEW_URI: str = "ui://qr-server/view.html"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import asyncio
|
|||
from fastapi import FastAPI
|
||||
|
||||
from fastmcp import FastMCP
|
||||
from fastmcp.server.openapi import MCPType, RouteMap
|
||||
from fastmcp.server.providers.openapi import MCPType, RouteMap
|
||||
|
||||
# Create a FastAPI app with tagged endpoints
|
||||
app = FastAPI(title="Tagged API Example")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue