Skip to content

Commit a136913

Browse files
ericapisaniclaude
andcommitted
ref(pydantic-ai): Fix type annotation style in execute_tool_span
Move Optional inside quotes for consistency with type annotation style conventions. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent d246712 commit a136913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/pydantic_ai/spans/execute_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def execute_tool_span(
1717
tool_args: "Any",
1818
agent: "Any",
1919
tool_type: str = "function",
20-
tool_definition: Optional["ToolDefinition"] = None,
20+
tool_definition: "Optional[ToolDefinition]" = None,
2121
) -> "sentry_sdk.tracing.Span":
2222
"""Create a span for tool execution.
2323

0 commit comments

Comments
 (0)