Add pyright strict mode on the whole project (#1254)
This commit is contained in:
parent
ef4e167c1a
commit
c7671e470c
1 changed files with 652 additions and 674 deletions
|
|
@ -2,6 +2,8 @@
|
|||
Tests for completion handler with context functionality.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
|
||||
import pytest
|
||||
|
||||
from mcp.server.lowlevel import Server
|
||||
|
|
@ -21,7 +23,7 @@ async def test_completion_handler_receives_context():
|
|||
server = Server("test-server")
|
||||
|
||||
# Track what the handler receives
|
||||
received_args = {}
|
||||
received_args: dict[str, Any] = {}
|
||||
|
||||
@server.completion()
|
||||
async def handle_completion(
|
||||
|
|
|
|||
Loading…
Reference in a new issue