File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1605,8 +1605,9 @@ def from_api(cls, data):
1605
1605
id = data ["eventId" ],
1606
1606
occured = data ["eventTimestamp" ],
1607
1607
cause = attrs .get ("cause" ) and ExecutionTerminationCause (attrs ["cause" ]),
1608
- cancelling_execution = _executions . ExecutionId . from_api (
1608
+ cancelling_execution = (
1609
1609
attrs .get ("externalWorkflowExecution" )
1610
+ and _executions .ExecutionId .from_api (attrs ["externalWorkflowExecution" ])
1610
1611
),
1611
1612
cancel_decision_event_id = attrs .get ("externalInitiatedEventId" ),
1612
1613
)
@@ -1756,8 +1757,9 @@ def from_api(cls, data):
1756
1757
occured = data ["eventTimestamp" ],
1757
1758
signal_name = attrs ["signalName" ],
1758
1759
signal_input = attrs .get ("input" ),
1759
- signalling_execution = _executions . ExecutionId . from_api (
1760
+ signalling_execution = (
1760
1761
attrs .get ("externalWorkflowExecution" )
1762
+ and _executions .ExecutionId .from_api (attrs ["externalWorkflowExecution" ])
1761
1763
),
1762
1764
signal_decision_event_id = attrs .get ("externalInitiatedEventId" ),
1763
1765
)
You can’t perform that action at this time.
0 commit comments