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 8 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

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 22 '25 10:06 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jun 22 '25 10:06 CLAassistant