docs(operations): use typed 2.x errors and add StepContext.attempt for Python - #277
Open
ayushiahjolia wants to merge 1 commit into
Open
docs(operations): use typed 2.x errors and add StepContext.attempt for Python#277ayushiahjolia wants to merge 1 commit into
ayushiahjolia wants to merge 1 commit into
Conversation
ayushiahjolia
had a problem deploying
to
ai-pr-review-runtime
August 31, 2026 23:11 — with
GitHub Actions
Failure
ayushiahjolia
had a problem deploying
to
ai-pr-review-runtime
August 31, 2026 23:11 — with
GitHub Actions
Failure
ayushiahjolia
force-pushed
the
fix/typed-operation-errors-v2
branch
from
August 31, 2026 23:17
7d14286 to
11cf0f7
Compare
ayushiahjolia
had a problem deploying
to
ai-pr-review-runtime
August 31, 2026 23:19 — with
GitHub Actions
Failure
ayushiahjolia
had a problem deploying
to
ai-pr-review-runtime
August 31, 2026 23:19 — with
GitHub Actions
Failure
ayushiahjolia
force-pushed
the
fix/typed-operation-errors-v2
branch
from
August 31, 2026 23:49
11cf0f7 to
40c7e00
Compare
ayushiahjolia
had a problem deploying
to
ai-pr-review-runtime
August 31, 2026 23:49 — with
GitHub Actions
Failure
ayushiahjolia
had a problem deploying
to
ai-pr-review-runtime
August 31, 2026 23:49 — with
GitHub Actions
Failure
yaythomas
reviewed
Sep 1, 2026
|
|
||
| The Python SDK uses synchronous methods and does not support `await`. | ||
|
|
||
| ## 2.x Upgrade |
Contributor
There was a problem hiding this comment.
instead of tucking this away here, I wonder if would help adding a News/Announcements section called:
Label / slug: "What's New" / whats-new
Placement: last top-level tab in the docs nav
Structure: folders per SDK
Contributor
Author
There was a problem hiding this comment.
For this PR I'm intentionally following the same pattern the Java language page already uses for its 2.x migration (a link-out to the SDK's migration guide from the language reference), so Python stays consistent with the existing convention here.
The "What's New" hub is a great fit for the news/announcements space we talked about in the team meetings - a place to post whenever we ship new features. I'll take that on separately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available: aws/aws-durable-execution-sdk-python#663
Description of changes:
Updates the Python tabs in step.md, invoke.md, and child-context.md to match the 2.x SDK error hierarchy, and documents the attempt field on the Python StepContext.
mdformat --check docs/, codespell docs/, check_example_refs.py (529 files), and zensical build --clean 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.