Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
feafdb6
1
Parent(s): a7c6f7e
Update release numbers for anticipated version
Browse files- docs/deployment/cli.mdx +1 -1
- src/fastmcp/server/server.py +1 -1
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.
|
| 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.
|
| 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,
|