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
|
|
@ -38,8 +38,7 @@ from dataclasses import dataclass
|
|||
from typing import Any, Literal, TypeVar
|
||||
|
||||
import pytest
|
||||
|
||||
from mcp.shared.version import KNOWN_PROTOCOL_VERSIONS
|
||||
from mcp_types.version import KNOWN_PROTOCOL_VERSIONS
|
||||
|
||||
SpecVersion = Literal["2025-11-25", "2026-07-28"]
|
||||
"""A protocol version the suite parametrizes over. Both values are typed even though only one is
|
||||
|
|
|
|||
Loading…
Reference in a new issue