Skip to content

Commit a1bfa38

Browse files
committed
Tweak .result() doc
1 parent 173826f commit a1bfa38

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

temporalio/client.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1231,8 +1231,9 @@ async def result(
12311231
12321232
Args:
12331233
follow_runs: If true (default), workflow runs will be continually
1234-
fetched, until the most recent one is found. If false, the first
1235-
result is used.
1234+
fetched, until the most recent one is found. If false, return
1235+
the result from the first run targeted by the request if that run
1236+
ends in a result, otherwise raise an exception.
12361237
rpc_metadata: Headers used on the RPC call. Keys here override
12371238
client-level RPC metadata keys.
12381239
rpc_timeout: Optional RPC deadline to set for each RPC call. Note,

0 commit comments

Comments
 (0)