Skip to content

docs(wait-for-condition): document attempt field and exhaustion error for 2.x - #274

Open
ayushiahjolia wants to merge 1 commit into
mainfrom
fix/wait-for-condition-v2
Open

docs(wait-for-condition): document attempt field and exhaustion error for 2.x#274
ayushiahjolia wants to merge 1 commit into
mainfrom
fix/wait-for-condition-v2

Conversation

@ayushiahjolia

Copy link
Copy Markdown
Contributor

Issue #, if available: aws/aws-durable-execution-sdk-python#663

Description of changes:
Bring the Python wait_for_condition reference to 2.x:

  • Add the attempt field to WaitForConditionCheckContext in the signature example (current attempt number, starting at 1).
  • Document that the helper wait strategy fails the operation when it reaches maxAttempts before the condition is met, raising WaitForConditionError in Python.

Checks: mdformat, codespell, check_example_refs, zensical build all pass.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ayushiahjolia
ayushiahjolia marked this pull request as ready for review August 31, 2026 22:05
@ayushiahjolia
ayushiahjolia deployed to ai-pr-review-runtime August 31, 2026 22:06 — with GitHub Actions Active
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