Skip to content

Commit 1f036c8

Browse files
committed
docs: remove incorrect Raises section from stream() docstring
The stream() function issues a deprecation warning via warnings.warn() but doesn't raise an exception, so the Raises section was incorrect.
1 parent 1fefbf4 commit 1f036c8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/replicate/lib/_stream.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ def stream(
8080
Returns:
8181
An iterator (or async iterator) that yields output strings as they are
8282
generated by the model
83-
84-
Raises:
85-
DeprecationWarning: Always raised when this function is called
8683
"""
8784
# Log deprecation warning with helpful migration example
8885
warnings.warn(

0 commit comments

Comments
 (0)