mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 06:54:18 +01:00
Remove helper types
The helper types in mcp.server.types got really confusioning during implementation as they overlapped with mcp.types. I now believe it is better if we stay more low level to the spec types. To do this, we now only use mcp.types everywhere. We renamed mcp.server.types to mcp.server.models and removed it to the absolute minimum.
This commit is contained in:
@@ -2,7 +2,7 @@ import pytest
|
||||
from pydantic import AnyUrl
|
||||
|
||||
from mcp.server import Server
|
||||
from mcp.server.types import InitializationOptions
|
||||
from mcp.server.models import InitializationOptions
|
||||
from mcp.types import Resource, ServerCapabilities
|
||||
|
||||
TEST_INITIALIZATION_OPTIONS = InitializationOptions(
|
||||
|
||||
Reference in New Issue
Block a user