docs: update Python SDK docs for releases v0.9.0–v1.0.2#357
Closed
mintlify[bot] wants to merge 1 commit into
Closed
docs: update Python SDK docs for releases v0.9.0–v1.0.2#357mintlify[bot] wants to merge 1 commit into
mintlify[bot] wants to merge 1 commit into
Conversation
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Updates Python SDK documentation to cover user-facing features shipped across the v0.9.0–v1.0.2 release series.
New features documented:
ctx.signal/ctx.resolve_signal/ctx.reject_signalAPI that lets any invocation wait for a named signal from any other handler. Added a dedicated section with examples toexternal-events.mdx. Requires restate-server 1.7 with protocol v7 enabled.TerminalErrormetadata (v1.0.0):TerminalErrornow accepts an optionalmetadatadict to attach structured, machine-readable context to terminal failures. Documented with example inerror-handling.mdx.restate.getLogger()andrestate.RestateLoggingFiltersuppress duplicate log output during handler replays. Added a newlogging.mdxpage (with nav entry indocs.json).ctx.sleepnow accepts an optionalnameparameter visible in the Restate UI. Added todurable-timers.mdx.invocation_context_managersto set up and tear down resources (connections, spans, DI) per attempt. Documented with example inservices.mdx.restate.create_test_harnessas an async context manager for pytest fixtures, with the typed SDK client for calling handlers directly. Updatedtesting.mdxto cover both the sync and async harness patterns, plusalways_replay/disable_retriesflags (v0.9.1).