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
|
|
@ -1,10 +1,7 @@
|
|||
"""Tests for completion handler with context functionality."""
|
||||
|
||||
import pytest
|
||||
|
||||
from mcp import Client
|
||||
from mcp.server import Server, ServerRequestContext
|
||||
from mcp.types import (
|
||||
from mcp_types import (
|
||||
CompleteRequestParams,
|
||||
CompleteResult,
|
||||
Completion,
|
||||
|
|
@ -12,6 +9,9 @@ from mcp.types import (
|
|||
ResourceTemplateReference,
|
||||
)
|
||||
|
||||
from mcp import Client
|
||||
from mcp.server import Server, ServerRequestContext
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
async def test_completion_handler_receives_context():
|
||||
|
|
|
|||
Loading…
Reference in a new issue