From 3b83d3799782db78fb8e4c9d4cd20c45be757762 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 8f9e5095..c1a04512 100644 --- a/temporalio/client.py +++ b/temporalio/client.py @@ -1569,8 +1569,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,