mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-19 12:04:18 +02:00
Fix docstring
This commit is contained in:
parent
43a74d02a1
commit
bf68db2df0
1 changed files with 7 additions and 7 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue