Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: update GuardrailFunctionOutput docstrings for clarity#1152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mshsheikh wants to merge1 commit intoopenai:main
base:main
Choose a base branch
Loading
frommshsheikh:patch-15

Conversation

mshsheikh
Copy link
Contributor

This PR refines the inline documentation for theGuardrailFunctionOutput class:

  • Updates the class summary to “Encapsulates the result of a guardrail’s validation step.”
  • Enhances theoutput_info field docstring to emphasize metadata and diagnostic examples (e.g., passed/failed rules, metrics).
  • Clarifies thetripwire_triggered field docstring to explicitly describe the hard-stop behavior.

✓ Purely informational edits.
✓ No changes to type signatures or logic.
These improvements boost developer readability, auto-generated documentation, and tooling support without impacting runtime behavior.

This PR refines the inline documentation for the `GuardrailFunctionOutput` class:- Updates the class summary to “Encapsulates the result of a guardrail’s validation step.”- Enhances the `output_info` field docstring to emphasize metadata and diagnostic examples (e.g., passed/failed rules, metrics).- Clarifies the `tripwire_triggered` field docstring to explicitly describe the hard-stop behavior.✓ Purely informational edits.✓ No changes to type signatures or logic.These improvements boost developer readability, auto-generated documentation, and tooling support without impacting runtime behavior.
@seratchseratch added the documentationImprovements or additions to documentation labelJul 16, 2025
@seratch
Copy link
Member

Thanks for sending this! However, this does not show significant difference to me.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
documentationImprovements or additions to documentation
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mshsheikh@seratch

[8]ページ先頭

©2009-2025 Movatter.jp