Skip to content

Commit 3211bd2

Browse files
committed
Satisfy linter
1 parent ae089ff commit 3211bd2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pydantic_ai_slim/pydantic_ai/output.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pydantic import GetCoreSchemaHandler, GetJsonSchemaHandler
88
from pydantic.json_schema import JsonSchemaValue
99
from pydantic_core import core_schema
10-
from typing_extensions import TypeAliasType, TypeVar
10+
from typing_extensions import TypeAliasType, TypeVar, deprecated
1111

1212
from . import _utils
1313
from .messages import ToolCallPart
@@ -368,3 +368,8 @@ class DeferredToolRequests:
368368
"""Tool calls that require external execution."""
369369
approvals: list[ToolCallPart] = field(default_factory=list)
370370
"""Tool calls that require human-in-the-loop approval."""
371+
372+
373+
@deprecated('`DeferredToolCalls` is deprecated, use `DeferredToolRequests` instead')
374+
class DeferredToolCalls(DeferredToolRequests):
375+
pass

0 commit comments

Comments
 (0)