Jeremiah Lowin commited on
Commit
4f8c21c
·
1 Parent(s): 7ffe6a5

Fix docstring

Browse files
Files changed (1) hide show
  1. src/fastmcp/client/client.py +7 -7
src/fastmcp/client/client.py CHANGED
@@ -58,13 +58,13 @@ class Client:
58
  - MCPConfig: MCP server configuration
59
  - dict: Transport configuration
60
  roots: Optional RootsList or RootsHandler for filesystem access
61
- sampling_handler: Optional handler for sampling requests log_handler:
62
- Optional handler for log messages message_handler: Optional handler for
63
- protocol messages progress_handler: Optional handler for progress
64
- notifications timeout: Optional timeout for requests (seconds or
65
- timedelta) init_timeout: Optional timeout for initial connection
66
- (seconds or timedelta). Set to 0 to disable. If None, uses the value
67
- in the FastMCP global settings.
68
 
69
  Examples:
70
  ```python # Connect to FastMCP server client =
 
58
  - MCPConfig: MCP server configuration
59
  - dict: Transport configuration
60
  roots: Optional RootsList or RootsHandler for filesystem access
61
+ sampling_handler: Optional handler for sampling requests
62
+ log_handler: Optional handler for log messages
63
+ message_handler: Optional handler for protocol messages
64
+ progress_handler: Optional handler for progress notifications
65
+ timeout: Optional timeout for requests (seconds or timedelta)
66
+ init_timeout: Optional timeout for initial connection (seconds or timedelta).
67
+ Set to 0 to disable. If None, uses the value in the FastMCP global settings.
68
 
69
  Examples:
70
  ```python # Connect to FastMCP server client =