From b0516faee69e1548b219c47ae2018ba91eeaa58b Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Mon, 16 Dec 2024 15:09:33 -0500 Subject: [PATCH] Tweak .result() doc --- temporalio/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/temporalio/client.py b/temporalio/client.py index 4eb1dc868..b016d30e6 100644 --- a/temporalio/client.py +++ b/temporalio/client.py @@ -1653,8 +1653,9 @@ async def result( Args: follow_runs: If true (default), workflow runs will be continually - fetched, until the most recent one is found. If false, the first - result is used. + fetched, until the most recent one is found. If false, return + the result from the first run targeted by the request if that run + ends in a result, otherwise raise an exception. rpc_metadata: Headers used on the RPC call. Keys here override client-level RPC metadata keys. rpc_timeout: Optional RPC deadline to set for each RPC call. Note,