Skip to content

Commit d36a0c8

Browse files
Copilotmoonbox3
andauthored
Regenerate Python type-checker lockfile
Co-authored-by: moonbox3 <[email protected]>
1 parent b6c484e commit d36a0c8

6 files changed

Lines changed: 35 additions & 35 deletions

File tree

‎python/packages/ag-ui/tests/ag_ui/test_run.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,8 +1748,8 @@ def test_tool_only_flow_produces_balanced_events(self):
17481748
all_events.append(event)
17491749

17501750
# Step 4: End of stream - emit final TextMessageEndEvent
1751-
if flow.message_id:
1752-
all_events.append(TextMessageEndEvent(message_id=flow.message_id))
1751+
assert flow.message_id is not None
1752+
all_events.append(TextMessageEndEvent(message_id=flow.message_id))
17531753

17541754
# Verify event counts
17551755
start_events = [e for e in all_events if isinstance(e, TextMessageStartEvent)]

‎python/packages/core/agent_framework/_agents.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,7 +1727,7 @@ async def _log(level: types.LoggingLevel, data: Any) -> None:
17271727
logger.error("Failed to send log message to server: %s", e)
17281728

17291729
@server.list_tools()
1730-
async def _list_tools() -> list[types.Tool]: # type: ignore
1730+
async def _list_tools() -> list[types.Tool]:
17311731
"""List all tools in the agent."""
17321732
schema = agent_tool.parameters()
17331733

@@ -1741,7 +1741,7 @@ async def _list_tools() -> list[types.Tool]: # type: ignore
17411741
return [tool]
17421742

17431743
@server.call_tool()
1744-
async def _call_tool( # type: ignore
1744+
async def _call_tool(
17451745
name: str, arguments: dict[str, Any]
17461746
) -> Sequence[types.TextContent | types.ImageContent | types.AudioContent | types.EmbeddedResource]:
17471747
"""Call a tool in the agent."""
@@ -1784,7 +1784,7 @@ async def _call_tool( # type: ignore
17841784
return mcp_content or [types.TextContent(type="text", text="")]
17851785

17861786
@server.set_logging_level()
1787-
async def _set_logging_level(level: types.LoggingLevel) -> None: # type: ignore
1787+
async def _set_logging_level(level: types.LoggingLevel) -> None:
17881788
"""Set the logging level for the server."""
17891789
logger.setLevel(LOG_LEVEL_MAPPING[level])
17901790
# emit this log with the new minimum level

‎python/packages/core/agent_framework/_sessions.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ def _current_run_identity() -> object | None: # pyright: ignore[reportUnusedFun
11001100

11011101

11021102
@contextlib.contextmanager
1103-
def _run_identity_scope(identity: object) -> Generator[None]: # pyright: ignore[reportUnusedFunction]
1103+
def _run_identity_scope(identity: object) -> Generator[None]:
11041104
"""Stamp ``identity`` as the current run identity for the enclosed extent."""
11051105
token = _CURRENT_RUN_IDENTITY.set(identity)
11061106
try:

‎python/packages/core/agent_framework/observability.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138

139139

140140
@contextlib.contextmanager
141-
def _use_telemetry_conversation_id( # pyright: ignore[reportUnusedFunction]
141+
def _use_telemetry_conversation_id(
142142
conversation_id: str | None,
143143
) -> Generator[None]:
144144
"""Set an application-managed OTel conversation id for the current execution."""

‎python/packages/orchestrations/agent_framework_orchestrations/_magentic.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ def __init__(
14191419
task_ledger_plan_update_prompt: str | None = None,
14201420
progress_ledger_prompt: str | None = None,
14211421
final_answer_prompt: str | None = None,
1422-
max_stall_count: int | Sentinel = UNSET, # type: ignore[reportArgumentType]
1422+
max_stall_count: int | Sentinel = UNSET,
14231423
max_reset_count: int | None = None,
14241424
max_round_count: int | None = None,
14251425
# Existing params
@@ -1632,7 +1632,7 @@ def _set_manager(
16321632
progress_ledger_prompt: str | None = None,
16331633
final_answer_prompt: str | None = None,
16341634
# Limits
1635-
max_stall_count: int | Sentinel = UNSET, # type: ignore[reportArgumentType]
1635+
max_stall_count: int | Sentinel = UNSET,
16361636
max_reset_count: int | None = None,
16371637
max_round_count: int | None = None,
16381638
) -> None:

‎python/uv.lock‎

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)