generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Context
The CheckpointedResult.create_from_operation method also should handle context details to provide richer information for debugging and monitoring.
Technical Requirements
- Extend
CheckpointedResultto include context details - Modify
create_from_operationto populate context information - Ensure context details are serializable
- Maintain backward compatibility
Implementation Details
- File:
src/aws_durable_execution_sdk_python/state.py - Method:
CheckpointedResult.create_from_operation
case OperationType.CONTEXT:
context_details = operation.context_details
result = context_details.result if context_details else None
error = context_details.error if context_details else NoneAcceptance Criteria
-
CheckpointedResultincludes context details - Context details are populated from operation and context
- Serialization/deserialization works with context details
- Backward compatibility maintained
- Context details are useful for debugging
Priority: Medium
Estimated Effort: 0.5 days
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels