From bf68db2df002bb2dda309bf676c792925de8f56a Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Tue, 27 May 2025 08:47:04 -0400 Subject: [PATCH] Fix docstring --- src/fastmcp/client/client.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/fastmcp/client/client.py b/src/fastmcp/client/client.py index b177b950a..853f68c79 100644 --- a/src/fastmcp/client/client.py +++ b/src/fastmcp/client/client.py @@ -58,13 +58,13 @@ class Client: - MCPConfig: MCP server configuration - dict: Transport configuration roots: Optional RootsList or RootsHandler for filesystem access - sampling_handler: Optional handler for sampling requests log_handler: - Optional handler for log messages message_handler: Optional handler for - protocol messages progress_handler: Optional handler for progress - notifications timeout: Optional timeout for requests (seconds or - timedelta) init_timeout: Optional timeout for initial connection - (seconds or timedelta). Set to 0 to disable. If None, uses the value - in the FastMCP global settings. + sampling_handler: Optional handler for sampling requests + log_handler: Optional handler for log messages + message_handler: Optional handler for protocol messages + progress_handler: Optional handler for progress notifications + timeout: Optional timeout for requests (seconds or timedelta) + init_timeout: Optional timeout for initial connection (seconds or timedelta). + Set to 0 to disable. If None, uses the value in the FastMCP global settings. Examples: ```python # Connect to FastMCP server client =