diff --git a/mcp_python/types.py b/mcp_python/types.py index 78464ec..012122e 100644 --- a/mcp_python/types.py +++ b/mcp_python/types.py @@ -21,7 +21,7 @@ for reference. not separate types in the schema. """ -LATEST_PROTOCOL_VERSION = "2024-10-07"; +LATEST_PROTOCOL_VERSION = "2024-10-07" ProgressToken = str | int Cursor = str diff --git a/tests/test_types.py b/tests/test_types.py index d9bc46a..e2c0ac2 100644 --- a/tests/test_types.py +++ b/tests/test_types.py @@ -1,4 +1,9 @@ -from mcp_python.types import LATEST_PROTOCOL_VERSION, ClientRequest, JSONRPCMessage, JSONRPCRequest +from mcp_python.types import ( + LATEST_PROTOCOL_VERSION, + ClientRequest, + JSONRPCMessage, + JSONRPCRequest, +) def test_jsonrpc_request():