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
|
|
@ -11,7 +11,7 @@ async def test_messages_are_executed_concurrently_tools():
|
|||
server = FastMCP("test")
|
||||
event = anyio.Event()
|
||||
tool_started = anyio.Event()
|
||||
call_order = []
|
||||
call_order: list[str] = []
|
||||
|
||||
@server.tool("sleep")
|
||||
async def sleep_tool():
|
||||
|
|
@ -52,7 +52,7 @@ async def test_messages_are_executed_concurrently_tools_and_resources():
|
|||
server = FastMCP("test")
|
||||
event = anyio.Event()
|
||||
tool_started = anyio.Event()
|
||||
call_order = []
|
||||
call_order: list[str] = []
|
||||
|
||||
@server.tool("sleep")
|
||||
async def sleep_tool():
|
||||
|
|
|
|||
Loading…
Reference in a new issue