Skip to content

Commit c8ea226

Browse files
committed
rename allow_partial->partial in validate call
1 parent 432c954 commit c8ea226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async def stream_text(self, *, delta: bool = False, debounce_by: float | None =
116116
else:
117117
async for text in self._stream_response_text(delta=False, debounce_by=debounce_by):
118118
for validator in self._output_validators:
119-
text = await validator.validate(text, self._run_ctx, allow_partial=True) # pragma: no cover
119+
text = await validator.validate(text, self._run_ctx, partial=True) # pragma: no cover
120120
yield text
121121

122122
# TODO (v2): Drop in favor of `response` property

0 commit comments

Comments
 (0)