rename mcp_python to mcp
This commit is contained in:
parent
aa164ab556
commit
ed87ae9f06
1 changed files with 130 additions and 129 deletions
|
|
@ -1,14 +0,0 @@
|
|||
from dataclasses import dataclass
|
||||
from typing import Generic, TypeVar
|
||||
|
||||
from mcp_python.shared.session import BaseSession
|
||||
from mcp_python.types import RequestId, RequestParams
|
||||
|
||||
SessionT = TypeVar("SessionT", bound=BaseSession)
|
||||
|
||||
|
||||
@dataclass
|
||||
class RequestContext(Generic[SessionT]):
|
||||
request_id: RequestId
|
||||
meta: RequestParams.Meta | None
|
||||
session: SessionT
|
||||
Loading…
Reference in a new issue