Skip to content

Commit adaabd7

Browse files
committed
clean up unneeded changes
1 parent 1b9e6de commit adaabd7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pydantic_ai_slim/pydantic_ai/_output.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from pydantic import Json, TypeAdapter, ValidationError
1212
from pydantic_core import SchemaValidator, to_json
13-
from typing_extensions import Self, TypeAlias, TypedDict, TypeVar, assert_never
13+
from typing_extensions import Self, TypedDict, TypeVar, assert_never
1414

1515
from pydantic_ai._instrumentation import InstrumentationNames
1616

@@ -67,6 +67,8 @@
6767
* may or may not take [`RunContext`][pydantic_ai.tools.RunContext] as a first argument
6868
* may or may not take a `partial: bool` parameter as a last argument
6969
* may or may not be async
70+
71+
Usage `OutputValidatorFunc[AgentDepsT, T]`.
7072
"""
7173

7274

@@ -161,7 +163,7 @@ async def execute_traced_output_function(
161163

162164
@dataclass
163165
class OutputValidator(Generic[AgentDepsT, OutputDataT_inv]):
164-
function: OutputValidatorFunc
166+
function: OutputValidatorFunc[AgentDepsT, OutputDataT_inv]
165167
_takes_ctx: bool = field(init=False)
166168
_takes_partial: bool = field(init=False)
167169
_is_async: bool = field(init=False)

0 commit comments

Comments
 (0)