| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 410cc0d commit dcf8a6a
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -629,6 +629,8 @@ async def read_resource( | |||
| 629 | 629 | Raises: | |
| 630 | 630 | InputRequiredRoundsExceededError: `input_required_max_rounds` exhausted. | |
| 631 | 631 | MCPError: A callback returned `ErrorData` for an embedded input request. | |
| 632 | + pydantic.ValidationError: The server returned a result that does not | ||
| 633 | + conform to the negotiated protocol version. | ||
| 632 | 634 | """ | |
| 633 | 635 | ||
| 634 | 636 | async def retry(r: InputResponses | None, s: str | None) -> ReadResourceResult | InputRequiredResult: | |
@@ -711,6 +713,8 @@ async def call_tool( | |||
| 711 | 713 | Raises: | |
| 712 | 714 | InputRequiredRoundsExceededError: `input_required_max_rounds` exhausted. | |
| 713 | 715 | MCPError: A callback returned `ErrorData` for an embedded input request. | |
| 716 | + pydantic.ValidationError: The server returned a result that does not | ||
| 717 | + conform to the negotiated protocol version. | ||
| 714 | 718 | """ | |
| 715 | 719 | ||
| 716 | 720 | async def retry(r: InputResponses | None, s: str | None) -> CallToolResult | InputRequiredResult | Result: | |
@@ -787,6 +791,8 @@ async def get_prompt( | |||
| 787 | 791 | Raises: | |
| 788 | 792 | InputRequiredRoundsExceededError: `input_required_max_rounds` exhausted. | |
| 789 | 793 | MCPError: A callback returned `ErrorData` for an embedded input request. | |
| 794 | + pydantic.ValidationError: The server returned a result that does not | ||
| 795 | + conform to the negotiated protocol version. | ||
| 790 | 796 | """ | |
| 791 | 797 | ||
| 792 | 798 | async def retry(r: InputResponses | None, s: str | None) -> GetPromptResult | InputRequiredResult: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -452,6 +452,8 @@ async def send_request( | |||
| 452 | 452 | MCPError: Error response, read timeout, or connection closed. | |
| 453 | 453 | RuntimeError: Called before entering the context manager. | |
| 454 | 454 | ValueError: The request declares `name_param` but its params carry no string name. | |
| 455 | + pydantic.ValidationError: The server returned a result that does not | ||
| 456 | + conform to the negotiated protocol version. | ||
| 455 | 457 | """ | |
| 456 | 458 | data = request.model_dump(by_alias=True, mode="json", exclude_none=True) | |
| 457 | 459 | method: str = data["method"] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments