π The fast, Pythonic way to build MCP servers and clients.
Fix docstring
Jeremiah Lowinbf68db2df002
diff --git a/src/fastmcp/client/client.py b/src/fastmcp/client/client.pyindex 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 configurationroots: 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 =