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
|
|
@ -10,12 +10,7 @@ from typing import Any
|
|||
|
||||
import anyio
|
||||
import pytest
|
||||
|
||||
from mcp.shared.dispatcher import DispatchContext
|
||||
from mcp.shared.exceptions import MCPDeprecationWarning
|
||||
from mcp.shared.peer import ClientPeer, dump_params
|
||||
from mcp.shared.transport_context import TransportContext
|
||||
from mcp.types import (
|
||||
from mcp_types import (
|
||||
CreateMessageResult,
|
||||
CreateMessageResultWithTools,
|
||||
ElicitResult,
|
||||
|
|
@ -25,6 +20,11 @@ from mcp.types import (
|
|||
Tool,
|
||||
)
|
||||
|
||||
from mcp.shared.dispatcher import DispatchContext
|
||||
from mcp.shared.exceptions import MCPDeprecationWarning
|
||||
from mcp.shared.peer import ClientPeer, dump_params
|
||||
from mcp.shared.transport_context import TransportContext
|
||||
|
||||
from .conftest import direct_pair
|
||||
from .test_dispatcher import running_pair
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue