From 8bbe6f5021e29dca25c3cdffc5b7bbdeb67c3fb8 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Mon, 19 May 2025 15:22:16 -0500 Subject: [PATCH] update deprecation --- tests/server/test_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/server/test_proxy.py b/tests/server/test_proxy.py index 7f018332c..b77db9b38 100644 --- a/tests/server/test_proxy.py +++ b/tests/server/test_proxy.py @@ -74,7 +74,7 @@ async def test_create_proxy(fastmcp_server): # Create a client client = Client(transport=FastMCPTransport(fastmcp_server)) - server = FastMCPProxy.from_client(client) + server = FastMCPProxy.as_proxy(client) assert isinstance(server, FastMCPProxy) assert isinstance(server, FastMCP)