Skip to content

Add docs for cancellation types to Python#4207

Open
Quinn-With-Two-Ns wants to merge 1 commit intomainfrom
NEXUS-181
Open

Add docs for cancellation types to Python#4207
Quinn-With-Two-Ns wants to merge 1 commit intomainfrom
NEXUS-181

Conversation

@Quinn-With-Two-Ns
Copy link
Contributor

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Feb 10, 2026

What does this PR do?

Add docs for Nexus cancellation types to Python like we did for dotnet #4178

Notes to reviewers

Note this PR needs temporalio/samples-python#276 to merge first and to update the link to the sample

┆Attachments: EDU-5905 Add docs for cancellation types to Python

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner February 10, 2026 18:39
@vercel
Copy link

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Feb 10, 2026 6:39pm

Request Review

@github-actions
Copy link
Contributor

📖 Docs PR preview links

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7cd0aae0cb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

It's okay to leave operations running in some use cases.
To ensure cancellations are delivered, wait for all pending operations to finish before exiting the Workflow.

See the [Nexus cancellation sample](https://github.com/temporalio/samples-dotnet/tree/main/src/NexusCancellation) for reference.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Point cancellation sample link to Python repository

This page documents Python Nexus cancellation behavior, but the new reference link sends readers to the .NET sample, which uses different SDK types and option names. In practice, Python users following this section will land on code they cannot directly apply, making the new cancellation guidance harder to validate and likely causing confusion when they try to map cancellation_type to .NET APIs.

Useful? React with 👍 / 👎.

@jsundai jsundai self-assigned this Feb 10, 2026
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