1 parent 7ba7520 commit 9e0e717Copy full SHA for 9e0e717
1 file changed
packages/aws-durable-execution-sdk-python-insight/src/aws_durable_execution_sdk_python_insight/plugin.py
@@ -342,9 +342,9 @@ def on_invocation_end(self, info: InvocationEndInfo) -> None:
342
if should_emit:
343
# Only terminal (SUCCEEDED/FAILED) records carry an end time; a
344
# PENDING/RETRY invocation end maps to RUNNING (still in flight) and
345
- # must omit endTime/durationMs. Passing end_time=None makes _emit
346
- # drop both fields. Output and error likewise belong only to a
347
- # terminal record.
+ # must omit endTime/durationMs. Passing end_time=None makes
+ # _schedule_record drop both fields. Output and error likewise
+ # belong only to a terminal record.
348
self._schedule_record(
349
arn,
350
state,
0 commit comments