File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/aws_durable_execution_sdk_python_testing Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -417,13 +417,14 @@ def get_execution_history(
417417
418418 # Add InvocationCompleted events
419419 for completion in execution .invocation_completions :
420- invocation_event = HistoryEvent (
420+ invocation_event = HistoryEvent . create_invocation_completed (
421421 event_id = 0 , # Temporary, will be reassigned
422- event_type = EventType .INVOCATION_COMPLETED .value ,
423422 event_timestamp = datetime .fromtimestamp (
424423 completion .end_timestamp , tz = UTC
425424 ),
426- invocation_completed_details = completion ,
425+ start_timestamp = completion .start_timestamp ,
426+ end_timestamp = completion .end_timestamp ,
427+ request_id = completion .request_id ,
427428 )
428429 all_events .append (invocation_event )
429430
You can’t perform that action at this time.
0 commit comments