Skip to content

Commit a2f166f

Browse files
fix: add type: ignore for mypy on test fake compiled graph assignments
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent aa1dbaf commit a2f166f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/agent/tools/test_datafabric_tool.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def test_datafabric_handler_returns_single_terminal_tool_message():
2222
entity_set=[],
2323
llm=MagicMock(),
2424
)
25-
handler._compiled = _FakeCompiledGraph(
25+
handler._compiled = _FakeCompiledGraph( # type: ignore[assignment]
2626
{
2727
"messages": [
2828
ToolMessage(content="{'records': [1], 'total_count': 1}", tool_call_id="1")
@@ -41,7 +41,7 @@ async def test_datafabric_handler_aggregates_multiple_terminal_tool_messages():
4141
entity_set=[],
4242
llm=MagicMock(),
4343
)
44-
handler._compiled = _FakeCompiledGraph(
44+
handler._compiled = _FakeCompiledGraph( # type: ignore[assignment]
4545
{
4646
"messages": [
4747
ToolMessage(
@@ -74,7 +74,7 @@ async def test_datafabric_handler_prefers_terminal_ai_message():
7474
entity_set=[],
7575
llm=MagicMock(),
7676
)
77-
handler._compiled = _FakeCompiledGraph(
77+
handler._compiled = _FakeCompiledGraph( # type: ignore[assignment]
7878
{
7979
"messages": [
8080
ToolMessage(content="{'records': [], 'total_count': 0}", tool_call_id="1"),

0 commit comments

Comments
 (0)