Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/mcp/client/websocket.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import json
import logging
from collections.abc import AsyncGenerator
from contextlib import asynccontextmanager

Expand All @@ -12,8 +11,6 @@
import mcp.types as types
from mcp.shared.message import SessionMessage

logger = logging.getLogger(__name__)


@asynccontextmanager
async def websocket_client(
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/server/fastmcp/server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""FastMCP - A more ergonomic interface for MCP servers."""

from __future__ import annotations as _annotations
from __future__ import annotations

import inspect
import re
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/server/fastmcp/tools/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations as _annotations
from __future__ import annotations

import functools
import inspect
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/server/fastmcp/tools/tool_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations as _annotations
from __future__ import annotations

from collections.abc import Callable
from typing import TYPE_CHECKING, Any
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/server/lowlevel/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def main():
messages from the client.
"""

from __future__ import annotations as _annotations
from __future__ import annotations

import base64
import contextvars
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/shared/session.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations as _annotations
from __future__ import annotations

import logging
from collections.abc import Callable
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations as _annotations
from __future__ import annotations

from collections.abc import Callable
from datetime import datetime
Expand Down