Jeremiah Lowin commited on
Commit
33f7965
·
unverified ·
2 Parent(s): 0522f9f4504a7b

Merge pull request #516 from jlowin/prep-release

Browse files
docs/deployment/cli.mdx CHANGED
@@ -47,7 +47,7 @@ This command runs the server directly in your current Python environment. You ar
47
  | Log Level | `--log-level`, `-l` | Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
48
 
49
  #### Server Specification
50
- <VersionBadge version="2.4.0" />
51
 
52
  The server can be specified in three ways:
53
  1. `server.py` - imports the module and looks for a FastMCP object named `mcp`, `server`, or `app`. Errors if no such object is found.
 
47
  | Log Level | `--log-level`, `-l` | Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
48
 
49
  #### Server Specification
50
+ <VersionBadge version="2.3.5" />
51
 
52
  The server can be specified in three ways:
53
  1. `server.py` - imports the module and looks for a FastMCP object named `mcp`, `server`, or `app`. Errors if no such object is found.
src/fastmcp/server/server.py CHANGED
@@ -1145,7 +1145,7 @@ class FastMCP(Generic[LifespanResultT]):
1145
  """
1146
  Create a FastMCP proxy server from a FastMCP client.
1147
  """
1148
- # Deprecated since 2.4.0
1149
  warnings.warn(
1150
  "FastMCP.from_client() is deprecated; use FastMCP.as_proxy() instead.",
1151
  DeprecationWarning,
 
1145
  """
1146
  Create a FastMCP proxy server from a FastMCP client.
1147
  """
1148
+ # Deprecated since 2.3.5
1149
  warnings.warn(
1150
  "FastMCP.from_client() is deprecated; use FastMCP.as_proxy() instead.",
1151
  DeprecationWarning,