Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Oct 18, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…mple Example class (#8949)

* Add comprehensive docstring to Example class

- Add detailed class-level docstring following Google Python style guide
- Include comprehensive usage examples showing various initialization patterns
- Document key features: dictionary-like access, input/output separation, serialization
- Cover all major use cases: basic usage, dictionary initialization, copying, input/output handling
- Provide practical examples for common operations like iteration, key checking, and field access

This improves DSPy's docstring coverage and makes the Example class more accessible to users.

* Fixes made according to the comments and suggestions

* lint

---------

Co-authored-by: chenmoneygithub <[email protected]>
@pull pull bot locked and limited conversation to collaborators Oct 18, 2025
@pull pull bot added the ⤵️ pull label Oct 18, 2025
@pull pull bot merged commit bbcfe08 into Spencerx:main Oct 18, 2025
0 of 10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant