@@ -7,7 +7,7 @@ sidebarTitle: client
77
88## Classes
99
10- ### ` ClientSessionState ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L80 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
10+ ### ` ClientSessionState ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L81 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
1111
1212
1313Holds all session-related state for a Client instance.
@@ -16,7 +16,7 @@ This allows clean separation of configuration (which is copied) from
1616session state (which should be fresh for each new client instance).
1717
1818
19- ### ` Client ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L96 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
19+ ### ` Client ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L97 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
2020
2121
2222MCP client that delegates connection management to a Transport instance.
@@ -79,7 +79,7 @@ async with client:
7979
8080** Methods:**
8181
82- #### ` session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L282 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
82+ #### ` session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L283 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
8383
8484``` python
8585session(self ) -> ClientSession
@@ -88,7 +88,7 @@ session(self) -> ClientSession
8888Get the current active session. Raises RuntimeError if not connected.
8989
9090
91- #### ` initialize_result ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L292 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
91+ #### ` initialize_result ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L293 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
9292
9393``` python
9494initialize_result(self ) -> mcp.types.InitializeResult
@@ -97,7 +97,7 @@ initialize_result(self) -> mcp.types.InitializeResult
9797Get the result of the initialization request.
9898
9999
100- #### ` set_roots ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L300 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
100+ #### ` set_roots ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L301 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
101101
102102``` python
103103set_roots(self , roots: RootsList | RootsHandler) -> None
@@ -106,7 +106,7 @@ set_roots(self, roots: RootsList | RootsHandler) -> None
106106Set the roots for the client. This does not automatically call ` send_roots_list_changed ` .
107107
108108
109- #### ` set_sampling_callback ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L304 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
109+ #### ` set_sampling_callback ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L305 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
110110
111111``` python
112112set_sampling_callback(self , sampling_callback: ClientSamplingHandler) -> None
@@ -115,7 +115,7 @@ set_sampling_callback(self, sampling_callback: ClientSamplingHandler) -> None
115115Set the sampling callback for the client.
116116
117117
118- #### ` set_elicitation_callback ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L310 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
118+ #### ` set_elicitation_callback ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L311 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
119119
120120``` python
121121set_elicitation_callback(self , elicitation_callback: ElicitationHandler) -> None
@@ -124,7 +124,7 @@ set_elicitation_callback(self, elicitation_callback: ElicitationHandler) -> None
124124Set the elicitation callback for the client.
125125
126126
127- #### ` is_connected ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L318 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
127+ #### ` is_connected ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L319 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
128128
129129``` python
130130is_connected(self ) -> bool
@@ -133,7 +133,7 @@ is_connected(self) -> bool
133133Check if the client is currently connected.
134134
135135
136- #### ` new ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L322 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
136+ #### ` new ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L323 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
137137
138138``` python
139139new(self ) -> Client[ClientTransportT]
@@ -149,13 +149,13 @@ share state with the original client.
149149- A new Client instance with the same configuration but disconnected state.
150150
151151
152- #### ` close ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L487 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
152+ #### ` close ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L490 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
153153
154154``` python
155155close(self )
156156```
157157
158- #### ` ping ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L493 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
158+ #### ` ping ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L496 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
159159
160160``` python
161161ping(self ) -> bool
@@ -164,7 +164,7 @@ ping(self) -> bool
164164Send a ping request.
165165
166166
167- #### ` cancel ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L498 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
167+ #### ` cancel ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L501 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
168168
169169``` python
170170cancel(self , request_id: str | int , reason: str | None = None ) -> None
@@ -173,7 +173,7 @@ cancel(self, request_id: str | int, reason: str | None = None) -> None
173173Send a cancellation notification for an in-progress request.
174174
175175
176- #### ` progress ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L515 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
176+ #### ` progress ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L518 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
177177
178178``` python
179179progress(self , progress_token: str | int , progress: float , total: float | None = None , message: str | None = None ) -> None
@@ -182,7 +182,7 @@ progress(self, progress_token: str | int, progress: float, total: float | None =
182182Send a progress notification.
183183
184184
185- #### ` set_logging_level ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L527 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
185+ #### ` set_logging_level ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L530 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
186186
187187``` python
188188set_logging_level(self , level: mcp.types.LoggingLevel) -> None
@@ -191,7 +191,7 @@ set_logging_level(self, level: mcp.types.LoggingLevel) -> None
191191Send a logging/setLevel request.
192192
193193
194- #### ` send_roots_list_changed ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L531 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
194+ #### ` send_roots_list_changed ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L534 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
195195
196196``` python
197197send_roots_list_changed(self ) -> None
@@ -200,7 +200,7 @@ send_roots_list_changed(self) -> None
200200Send a roots/list_changed notification.
201201
202202
203- #### ` list_resources_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L537 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
203+ #### ` list_resources_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L540 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
204204
205205``` python
206206list_resources_mcp(self ) -> mcp.types.ListResourcesResult
@@ -216,7 +216,7 @@ containing the list of resources and any additional metadata.
216216- ` RuntimeError ` : If called while the client is not connected.
217217
218218
219- #### ` list_resources ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L552 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
219+ #### ` list_resources ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L555 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
220220
221221``` python
222222list_resources(self ) -> list[mcp.types.Resource]
@@ -231,7 +231,7 @@ Retrieve a list of resources available on the server.
231231- ` RuntimeError ` : If called while the client is not connected.
232232
233233
234- #### ` list_resource_templates_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L564 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
234+ #### ` list_resource_templates_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L567 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
235235
236236``` python
237237list_resource_templates_mcp(self ) -> mcp.types.ListResourceTemplatesResult
@@ -247,7 +247,7 @@ containing the list of resource templates and any additional metadata.
247247- ` RuntimeError ` : If called while the client is not connected.
248248
249249
250- #### ` list_resource_templates ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L581 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
250+ #### ` list_resource_templates ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L584 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
251251
252252``` python
253253list_resource_templates(self ) -> list[mcp.types.ResourceTemplate]
@@ -262,7 +262,7 @@ Retrieve a list of resource templates available on the server.
262262- ` RuntimeError ` : If called while the client is not connected.
263263
264264
265- #### ` read_resource_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L595 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
265+ #### ` read_resource_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L598 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
266266
267267``` python
268268read_resource_mcp(self , uri: AnyUrl | str ) -> mcp.types.ReadResourceResult
@@ -281,7 +281,7 @@ containing the resource contents and any additional metadata.
281281- ` RuntimeError ` : If called while the client is not connected.
282282
283283
284- #### ` read_resource ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L617 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
284+ #### ` read_resource ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L620 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
285285
286286``` python
287287read_resource(self , uri: AnyUrl | str ) -> list[mcp.types.TextResourceContents | mcp.types.BlobResourceContents]
@@ -300,7 +300,7 @@ objects, typically containing either text or binary data.
300300- ` RuntimeError ` : If called while the client is not connected.
301301
302302
303- #### ` list_prompts_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L656 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
303+ #### ` list_prompts_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L659 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
304304
305305``` python
306306list_prompts_mcp(self ) -> mcp.types.ListPromptsResult
@@ -316,7 +316,7 @@ containing the list of prompts and any additional metadata.
316316- ` RuntimeError ` : If called while the client is not connected.
317317
318318
319- #### ` list_prompts ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L671 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
319+ #### ` list_prompts ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L674 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
320320
321321``` python
322322list_prompts(self ) -> list[mcp.types.Prompt]
@@ -331,7 +331,7 @@ Retrieve a list of prompts available on the server.
331331- ` RuntimeError ` : If called while the client is not connected.
332332
333333
334- #### ` get_prompt_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L684 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
334+ #### ` get_prompt_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L687 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
335335
336336``` python
337337get_prompt_mcp(self , name: str , arguments: dict[str , Any] | None = None ) -> mcp.types.GetPromptResult
@@ -351,7 +351,7 @@ containing the prompt messages and any additional metadata.
351351- ` RuntimeError ` : If called while the client is not connected.
352352
353353
354- #### ` get_prompt ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L720 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
354+ #### ` get_prompt ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L723 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
355355
356356``` python
357357get_prompt(self , name: str , arguments: dict[str , Any] | None = None ) -> mcp.types.GetPromptResult
@@ -371,7 +371,7 @@ containing the prompt messages and any additional metadata.
371371- ` RuntimeError ` : If called while the client is not connected.
372372
373373
374- #### ` complete_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L741 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
374+ #### ` complete_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L744 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
375375
376376``` python
377377complete_mcp(self , ref: mcp.types.ResourceReference | mcp.types.PromptReference, argument: dict[str , str ]) -> mcp.types.CompleteResult
@@ -391,7 +391,7 @@ containing the completion and any additional metadata.
391391- ` RuntimeError ` : If called while the client is not connected.
392392
393393
394- #### ` complete ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L764 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
394+ #### ` complete ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L767 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
395395
396396``` python
397397complete(self , ref: mcp.types.ResourceReference | mcp.types.PromptReference, argument: dict[str , str ]) -> mcp.types.Completion
@@ -410,7 +410,7 @@ Send a completion request to the server.
410410- ` RuntimeError ` : If called while the client is not connected.
411411
412412
413- #### ` list_tools_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L786 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
413+ #### ` list_tools_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L789 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
414414
415415``` python
416416list_tools_mcp(self ) -> mcp.types.ListToolsResult
@@ -426,7 +426,7 @@ containing the list of tools and any additional metadata.
426426- ` RuntimeError ` : If called while the client is not connected.
427427
428428
429- #### ` list_tools ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L801 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
429+ #### ` list_tools ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L804 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
430430
431431``` python
432432list_tools(self ) -> list[mcp.types.Tool]
@@ -441,7 +441,7 @@ Retrieve a list of tools available on the server.
441441- ` RuntimeError ` : If called while the client is not connected.
442442
443443
444- #### ` call_tool_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L815 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
444+ #### ` call_tool_mcp ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L818 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
445445
446446``` python
447447call_tool_mcp(self , name: str , arguments: dict[str , Any], progress_handler: ProgressHandler | None = None , timeout: datetime.timedelta | float | int | None = None ) -> mcp.types.CallToolResult
@@ -466,7 +466,7 @@ containing the tool result and any additional metadata.
466466- ` RuntimeError ` : If called while the client is not connected.
467467
468468
469- #### ` call_tool ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L852 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
469+ #### ` call_tool ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L855 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
470470
471471``` python
472472call_tool(self , name: str , arguments: dict[str , Any] | None = None , timeout: datetime.timedelta | float | int | None = None , progress_handler: ProgressHandler | None = None , raise_on_error: bool = True ) -> CallToolResult
@@ -496,10 +496,10 @@ raw result object.
496496- ` RuntimeError ` : If called while the client is not connected.
497497
498498
499- #### ` generate_name ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L923 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
499+ #### ` generate_name ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L926 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
500500
501501``` python
502502generate_name(cls , name: str | None = None ) -> str
503503```
504504
505- ### ` CallToolResult ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L932 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
505+ ### ` CallToolResult ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/client.py#L935 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
0 commit comments