rename mcp_python to mcp

This commit is contained in:
David Soria Parra 2024-11-11 12:31:36 +00:00
commit ed87ae9f06
No known key found for this signature in database

View file

@ -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