mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
Updated deprecation URL for V2 (#3109)
* Updated deprecation URL for V2 For V3 this should be https://gofastmcp.com/servers/dependency-injection#using-depends For V2 this should be https://gofastmcp.com/v2/servers/context#using-depends current url fails for both v2 and v3 documentation https://gofastmcp.com/servers/dependencies https://gofastmcp.com/v2/servers/dependencies * Updated url to point to v2 docs as outlined in review https://github.com/jlowin/fastmcp/pull/3109#pullrequestreview-3766965732
This commit is contained in:
parent
21221b4ab1
commit
05eefe3330
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,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/v2/servers/context#using-depends for examples.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue