temporalio / samples-python

Samples for working with the Temporal Python SDK
MIT License
120 stars 53 forks source link

Refactor: Correct polling infrequent/periodic_sequence usecase #125

Open pfranck opened 2 months ago

pfranck commented 2 months ago

What was changed

We use the activity.info().attempt value to feed the TestService

Why?

Before this change the attempt value in the TestService was never change and stay to 0

Checklist

  1. How was this tested: Run the 2 command explain in the readme - success on 5 atempts
CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

CLAassistant commented 2 months ago

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.

pfranck commented 2 months ago

poe format and poe lint-types have been runned