samples-python/hello at main · temporalio/samples-python

These samples show basic workflow and activity features.

To run, first see README.md for prerequisites. Then, run the following from the root directory to run the hello_activity.py sample:

uv run hello/hello_activity.py

The result will be:

Replace hello/hello_activity.py in the command with any other example filename (with the hello/ prefix) to run it instead.

Samples

Note: To enable the workflow update, set the frontend.enableUpdateWorkflowExecution dynamic config value to true.

temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true