Skip to content

Commit 4f4a080

Browse files
committed
docs(stdlib): add Args section to StreamChunkingResult class docstring
Fixes [no_class_args] CI failure — the docs build-and-validate checker requires __init__ parameters to be documented in the class docstring (not __init__) per Option C convention. Assisted-by: Claude Code
1 parent 67b5662 commit 4f4a080

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

mellea/stdlib/streaming.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ class StreamChunkingResult:
3636
Instances are created by :func:`stream_with_chunking`; do not instantiate
3737
directly.
3838
39+
Args:
40+
mot: The :class:`~mellea.core.base.ModelOutputThunk` from the backend
41+
generation call.
42+
ctx: The generation context returned alongside the MOT.
43+
3944
Attributes:
4045
completed: ``False`` if the stream exited early because a requirement
4146
returned ``"fail"`` during streaming; ``True`` otherwise.

0 commit comments

Comments
 (0)