temporalio / samples-python

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

Use workflow init from samples #143

Open drewhoskins-temporal opened 3 days ago

drewhoskins-temporal commented 3 days ago

What was changed

Workflow Init is a brand new feature. Let's show people best practices for each sample that uses a signal or update handler and receives workflow arguments.

Why?

These changes make sure these workflows are initialized before signal or update handlers are run.

Checklist

  1. Closes

  2. How was this tested:

    Automated: poetry run pytest workflow_test.py Manual: Follow instructions in bedrock/entity/README.md and message_passing/safe_message_handlers/README.md

  3. Any docs updates needed?