Skip to content

Commit cb15c94

Browse files
committed
fix mypy
1 parent ba7ba50 commit cb15c94

File tree

1 file changed

+2
-1
lines changed
  • sdk/agentserver/azure-ai-agentserver-agentframework/azure/ai/agentserver/agentframework

1 file changed

+2
-1
lines changed

sdk/agentserver/azure-ai-agentserver-agentframework/azure/ai/agentserver/agentframework/tool_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ---------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# ---------------------------------------------------------
4+
# mypy: disable-error-code="assignment"
45
"""Tool client for integrating AzureAIToolClient with Agent Framework."""
56

67
from typing import TYPE_CHECKING, Any, Dict, List, Optional
@@ -57,7 +58,7 @@ def __init__(self, tool_client: "AzureAIToolClient") -> None:
5758
:type tool_client: ~azure.ai.agentserver.core.client.tools.aio.AzureAIToolClient
5859
"""
5960
self._tool_client = tool_client
60-
self._aifunction_cache: List[AIFunction] = None # mypy: ignore[assignment]
61+
self._aifunction_cache: List[AIFunction] = None
6162

6263
async def list_tools(self) -> List[AIFunction]:
6364
"""List all available tools as Agent Framework tool definitions.

0 commit comments

Comments
 (0)