File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4107,17 +4107,16 @@ async def result(
4107
4107
rpc_timeout : Optional [timedelta ] = None ,
4108
4108
) -> LocalReturnType :
4109
4109
"""Wait for and return the result of the update. The result may already be known in which case no network call
4110
- is made. Otherwise the result will be polled for until returned, or until the provided timeout is reached, if
4111
- specified.
4110
+ is made. Otherwise the result will be polled for until it is returned.
4112
4111
4113
4112
Args:
4114
4113
rpc_metadata: Headers used on the RPC call. Keys here override client-level RPC metadata keys.
4115
- rpc_timeout: Optional RPC deadline to set for the RPC call. If this elapses, the poll is retried until the
4116
- overall timeout has been reached.
4114
+ rpc_timeout: Optional RPC deadline to set for each RPC call. Note: this is the timeout for each
4115
+ RPC call while polling, not a timeout for the function as a whole. If an individual RPC times out,
4116
+ it will be retried until the result is available.
4117
4117
4118
4118
Raises:
4119
4119
WorkflowUpdateFailedError: If the update failed
4120
- TimeoutError: The specified timeout was reached when waiting for the update result.
4121
4120
RPCError: Update result could not be fetched for some other reason.
4122
4121
"""
4123
4122
if self ._known_outcome is not None :
You can’t perform that action at this time.
0 commit comments