Skip to content

docs: document status-dependent action attempt values - #633

Open
razor-x wants to merge 1 commit into
mainfrom
claude/action-attempt-status-annotations-f216kn
Open

docs: document status-dependent action attempt values#633
razor-x wants to merge 1 commit into
mainfrom
claude/action-attempt-status-annotations-f216kn

Conversation

@razor-x

@razor-x razor-x commented Aug 27, 2026

Copy link
Copy Markdown
Member

Follow-up to #632: documents the (action_type, status) action attempt classes in the README's Action Attempts section — how error and result are None outside their status, with a narrow-on-status example:

if action_attempt.status == "success":
    print(action_attempt.result)  # The result is not None here.

if action_attempt.status == "error":
    print(action_attempt.error.message)  # The error is not None here.

Also notes that waiting returns a SuccessActionAttempt. README-only change; rstcheck passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EdWS7o3htQ9cNxhCWL5Frp


Generated by Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EdWS7o3htQ9cNxhCWL5Frp
@razor-x
razor-x requested a review from a team as a code owner August 27, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants