File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sdlf-stage-lambda/src/lambda/postupdate-metadata/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ def lambda_handler(event, context):
2828 peh_table_instance = peh_table_instance ,
2929 manifests_table_instance = manifests_table_instance ,
3030 )
31- peh_id = event [0 ]["Items " ][0 ]["transform" ]["peh_id" ]
31+ peh_id = event [0 ]["run_output " ][0 ]["transform" ]["peh_id" ]
3232 pipeline_execution .retrieve_pipeline_execution (peh_id )
3333
3434 partial_failure = False
35- for records in event :
36- for record in records :
37- if "processed" not in record or not record ["processed" ]:
38- partial_failure = True
35+ # for records in event:
36+ # for record in records:
37+ # if "processed" not in record or not record["processed"]:
38+ # partial_failure = True
3939
4040 if not partial_failure :
4141 pipeline_execution .update_pipeline_execution (
You can’t perform that action at this time.
0 commit comments