@@ -67,8 +67,7 @@ def __init__(
6767 client_info : types .Implementation | None = None ,
6868 elicitation_callback : ElicitationFnT | None = None ,
6969 ) -> None :
70- """
71- Initialize the client with a server.
70+ """Initialize the client with a server.
7271
7372 Args:
7473 server: The MCP server to connect to (Server or FastMCP instance)
@@ -139,8 +138,7 @@ async def __aexit__(
139138
140139 @property
141140 def session (self ) -> ClientSession :
142- """
143- Get the underlying ClientSession.
141+ """Get the underlying ClientSession.
144142
145143 This provides access to the full ClientSession API for advanced use cases.
146144
@@ -194,8 +192,7 @@ async def list_resource_templates(
194192 return await self .session .list_resource_templates (params = params )
195193
196194 async def read_resource (self , uri : str | AnyUrl ) -> types .ReadResourceResult :
197- """
198- Read a resource from the server.
195+ """Read a resource from the server.
199196
200197 Args:
201198 uri: The URI of the resource to read
@@ -222,8 +219,7 @@ async def call_tool(
222219 * ,
223220 meta : dict [str , Any ] | None = None ,
224221 ) -> types .CallToolResult :
225- """
226- Call a tool on the server.
222+ """Call a tool on the server.
227223
228224 Args:
229225 name: The name of the tool to call
@@ -255,8 +251,7 @@ async def get_prompt(
255251 name : str ,
256252 arguments : dict [str , str ] | None = None ,
257253 ) -> types .GetPromptResult :
258- """
259- Get a prompt from the server.
254+ """Get a prompt from the server.
260255
261256 Args:
262257 name: The name of the prompt
@@ -273,8 +268,7 @@ async def complete(
273268 argument : dict [str , str ],
274269 context_arguments : dict [str , str ] | None = None ,
275270 ) -> types .CompleteResult :
276- """
277- Get completions for a prompt or resource template argument.
271+ """Get completions for a prompt or resource template argument.
278272
279273 Args:
280274 ref: Reference to the prompt or resource template
0 commit comments