mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Compare commits
1 commit
main
...
claude/fix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
adb8a50a8e |
2 changed files with 9 additions and 1 deletions
|
|
@ -906,6 +906,14 @@
|
|||
{
|
||||
"destination": "/servers/transforms/transforms",
|
||||
"source": "/patterns/tool-transformation"
|
||||
},
|
||||
{
|
||||
"destination": "/servers/dependency-injection",
|
||||
"source": "/servers/dependencies"
|
||||
},
|
||||
{
|
||||
"destination": "/v2/servers/context#using-depends",
|
||||
"source": "/v2/servers/dependencies"
|
||||
}
|
||||
],
|
||||
"search": {
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ class FunctionTool(Tool):
|
|||
warnings.warn(
|
||||
"The `exclude_args` parameter is deprecated as of FastMCP 2.14. "
|
||||
"Use dependency injection with `Depends()` instead for better lifecycle management. "
|
||||
"See https://gofastmcp.com/servers/dependencies for examples.",
|
||||
"See https://gofastmcp.com/servers/dependency-injection#using-depends for examples.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue