mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 10:18:08 +02:00
Remove 3.x-era compatibility shims (#4661)
* Remove 3.x-era compatibility shims * Require response_type in ctx.elicit() * Name the utilities path for the two non-re-exported auth helpers * Point sampling handler migration at its submodule
This commit is contained in:
parent
1550eea886
commit
ea7fb8cb2e
28 changed files with 150 additions and 285 deletions
|
|
@ -25,7 +25,7 @@ from fastmcp.tools.function_tool import DecoratedTool, FunctionTool, ToolMeta
|
|||
"from fastmcp.resources import Resource, resource",
|
||||
"from fastmcp.prompts import Prompt, prompt",
|
||||
"import sys; import fastmcp.apps.config; assert 'fastmcp.tools.function_tool' not in sys.modules",
|
||||
"from fastmcp.server.auth.authorization import AuthCheck",
|
||||
"from fastmcp.server.auth import AuthCheck",
|
||||
"from fastmcp.server import Context, FastMCP, create_proxy",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue