diffusers
e87b2a7a - [docs] Follow ups for consistent forward docstrings (#13779)

Commit
74 days ago
[docs] Follow ups for consistent forward docstrings (#13779) * feat: allow docstring checker to fix unused args in docstrings. * feat: check for returns, too. * [docs] add missing Returns sections to forward/__call__ docstrings (#13830) Adds a Returns: section to the 43 model forward() and pipeline __call__() methods flagged by utils/check_forward_call_docstrings.py, which requires a Returns: section whenever the method has a non-None return annotation. Descriptions reflect the actual return statements (Output dataclass when return_dict=True, plain tuple otherwise; bare tensors / lists where applicable) and reuse each file's existing doc-builder link form. Also reformats a malformed single-line Returns: in pipeline_aura_flow.py that the check could not detect. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> * Apply style fixes --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Author
Parents
Loading