Split protocol types into a standalone mcp-types package (#2973)
This commit is contained in:
parent
03681ed55e
commit
0ee7f1b293
1 changed files with 1040 additions and 867 deletions
|
|
@ -2,9 +2,7 @@ from typing import Any
|
|||
|
||||
import pytest
|
||||
from inline_snapshot import snapshot
|
||||
from pydantic import ValidationError
|
||||
|
||||
from mcp.types import (
|
||||
from mcp_types import (
|
||||
LATEST_PROTOCOL_VERSION,
|
||||
CallToolResult,
|
||||
ClientCapabilities,
|
||||
|
|
@ -38,6 +36,7 @@ from mcp.types import (
|
|||
client_request_adapter,
|
||||
jsonrpc_message_adapter,
|
||||
)
|
||||
from pydantic import ValidationError
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
|
|
|||
Loading…
Reference in a new issue