We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429fbe8 commit 51a6decCopy full SHA for 51a6dec
temporalio/client.py
@@ -6075,15 +6075,13 @@ def on_start(
6075
and not st.details[0].Is(
6076
temporalio.api.failure.v1.MultiOperationExecutionAborted.DESCRIPTOR
6077
)
6078
+ and st.code != RPCStatusCode.OK
6079
6080
),
6081
None,
6082
6083
if status and status.code in RPCStatusCode:
- if (
6084
- status.code == RPCStatusCode.ALREADY_EXISTS
6085
- and status.details
6086
- ):
+ if status.code == RPCStatusCode.ALREADY_EXISTS:
6087
details = temporalio.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure()
6088
if status.details[0].Unpack(details):
6089
err = temporalio.exceptions.WorkflowAlreadyStartedError(
0 commit comments