Skip to content

Commit 38d466f

Browse files
make mypy happy
1 parent a367940 commit 38d466f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sentry_sdk/integrations/openai_agents/spans/ai_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _transform_tool_definitions(tools: "list[Tool]") -> "list[ToolDefinition]":
6969
if not isinstance(tools, list):
7070
return []
7171

72-
tool_definitions = []
72+
tool_definitions: "list[ToolDefinition]" = []
7373
for tool in tools:
7474
if isinstance(tool, FunctionTool):
7575
tool_definitions.append(

0 commit comments

Comments
 (0)