mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
Fix remaining typing issues
This commit is contained in:
parent
f1e3713fc6
commit
39c8f39863
2 changed files with 2 additions and 2 deletions
|
|
@ -321,7 +321,7 @@ async def test_import_with_proxy_prompts():
|
|||
await main_app.import_server("api", proxy_app)
|
||||
|
||||
result = await main_app._mcp_get_prompt("api_greeting", {"name": "World"})
|
||||
assert result.messages[0].content.text == "Hello, World from API!"
|
||||
assert result.messages[0].content.text == "Hello, World from API!" # type: ignore[attr-defined]
|
||||
assert result.description == "Example greeting prompt."
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -979,7 +979,7 @@ class TestResourceTemplates:
|
|||
# Test lookup by name
|
||||
name_result = await client.read_resource(AnyUrl("users://name/John"))
|
||||
assert name_result[0].text # type: ignore[attr-defined]
|
||||
name_
|
||||
name_data = json.loads(name_result[0].text) # type: ignore[attr-defined]
|
||||
assert name_data["lookup"] == "name"
|
||||
assert name_data["name"] == "John"
|
||||
assert name_data["email"] == "dummy@example.com"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue