Skip to content

Commit 12e96a6

Browse files
ajac-zeroDouweM
andauthored
Update pydantic_ai_slim/pydantic_ai/result.py
Co-authored-by: Douwe Maan <[email protected]>
1 parent 842d0e9 commit 12e96a6

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
@@ -462,7 +462,7 @@ async def stream_text(self, *, delta: bool = False, debounce_by: float | None =
462462
def stream_text_sync(self, *, delta: bool = False, debounce_by: float | None = 0.1) -> Iterator[str]:
463463
"""Stream the text result as a sync iterable.
464464
465-
This is a convenience method that wraps [`self.stream_text`][pydantic_ai.result.StreamedRunResult.stream_text] with `loop.run_until_complete(...)`.
465+
This is a convenience method that wraps [`stream_text()`][pydantic_ai.result.StreamedRunResult.stream_text] with `loop.run_until_complete(...)`.
466466
You therefore can't use this method inside async code or if there's an active event loop.
467467
468468
!!! note

0 commit comments

Comments
 (0)