samples-python icon indicating copy to clipboard operation
samples-python copied to clipboard

port mutex sample from go repository

Open K-Yo opened this issue 7 months ago • 2 comments

What was changed

Added a python sample for mutex pattern

Why?

The sample exists for go sdk but not for python yet. I needed it so I figured I could share it.

Checklist

  1. TODO

I’ve left a TODO in the code, I am not sure how to properly distinguish who sends a release in python (even if sender workflows are supposed to send them in order)

  1. How was this tested:

ran it locally with latest temporal dev server, and using branch pyproject.toml configuration.

  1. Any docs updates needed?

not that I think of

K-Yo avatar Jun 22 '25 10:06 K-Yo