From 54d688e28f3d4468cd3101bdc1fce23dcdecd631 Mon Sep 17 00:00:00 2001 From: Luis Da Silva Date: Sat, 19 Jul 2025 23:47:21 +0100 Subject: [PATCH] Update README.md to reflect all samples --- hello/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hello/README.md b/hello/README.md index f5dde687..c014d08c 100644 --- a/hello/README.md +++ b/hello/README.md @@ -17,14 +17,15 @@ Replace `hello/hello_activity.py` in the command with any other example filename * [hello_activity](hello_activity.py) - Execute an activity from a workflow. +* [hello_activity_async](hello_activity_async.py) - Execute an async activity from a workflow. * [hello_activity_choice](hello_activity_choice.py) - Execute certain activities inside a workflow based on dynamic input. * [hello_activity_method](hello_activity_method.py) - Demonstrate an activity that is an instance method on a class and can access class state. +* [hello_activity_heartbeat](hello_activity_heartbeat.py) - Demonstrate usage of heartbeat timeouts. * [hello_activity_multiprocess](hello_activity_multiprocess.py) - Execute a synchronous activity on a process pool. * [hello_activity_retry](hello_activity_retry.py) - Demonstrate activity retry by failing until a certain number of attempts. -* [hello_activity_threaded](hello_activity_threaded.py) - Execute a synchronous activity on a thread pool. * [hello_async_activity_completion](hello_async_activity_completion.py) - Complete an activity outside of the function that was called. * [hello_cancellation](hello_cancellation.py) - Manually react to cancellation inside workflows and activities. @@ -38,6 +39,7 @@ Replace `hello/hello_activity.py` in the command with any other example filename * [hello_mtls](hello_mtls.py) - Accept URL, namespace, and certificate info as CLI args and use mTLS for connecting to server. * [hello_parallel_activity](hello_parallel_activity.py) - Execute multiple activities at once. +* [hello_patch](hello_patch.py) - Demonstrates how to patch executions. * [hello_query](hello_query.py) - Invoke queries on a workflow. * [hello_search_attributes](hello_search_attributes.py) - Start workflow with search attributes then change while running. @@ -46,4 +48,4 @@ Replace `hello/hello_activity.py` in the command with any other example filename 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 \ No newline at end of file + temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true