mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 21:44:18 +02:00
response_type is None
This commit is contained in:
parent
eaf27c710d
commit
aab1f74810
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from dataclasses import asdict, dataclass
|
||||
from enum import Enum
|
||||
from typing import Any, Literal
|
||||
from typing import Literal
|
||||
|
||||
import pytest
|
||||
from mcp.types import ElicitRequestParams
|
||||
|
|
@ -153,7 +153,7 @@ class TestScalarResponseTypes:
|
|||
message, response_type, params: ElicitRequestParams, ctx
|
||||
):
|
||||
assert params.requestedSchema == {"type": "object", "properties": {}}
|
||||
assert response_type == dict[str, Any]
|
||||
assert response_type is None
|
||||
return ElicitResult(action="accept")
|
||||
|
||||
async with Client(mcp, elicitation_handler=elicitation_handler) as client:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue