File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
pattern-2/src/classification_function
pattern-3/src/classification_function Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def handler(event, context):
3737
3838 # Update document status to CLASSIFYING
3939 document .status = Status .CLASSIFYING
40+ document .workflow_execution_arn = event .get ("execution_arn" )
4041 appsync_service = DocumentAppSyncService ()
4142 logger .info (f"Updating document status to { document .status } " )
4243 appsync_service .update_document (document )
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ def handler(event, context):
3535
3636 # Update document status to CLASSIFYING
3737 document .status = Status .CLASSIFYING
38+ document .workflow_execution_arn = event .get ("execution_arn" )
3839 appsync_service = DocumentAppSyncService ()
3940 logger .info (f"Updating document status to { document .status } " )
4041 appsync_service .update_document (document )
You can’t perform that action at this time.
0 commit comments