Skip to content

Commit

Permalink
fix(ingest/sagemaker): handle missing ProcessingInputs field (#6697)
Browse files Browse the repository at this point in the history
Fixes #6360.
  • Loading branch information
hsheth2 authored Dec 9, 2022
1 parent 27ea3bf commit c211cfb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ def process_processing_job(self, job: Dict[str, Any]) -> SageMakerJob:

input_datasets = {}

inputs = job["ProcessingInputs"]
inputs = job.get("ProcessingInputs", [])

for input_config in inputs:

Expand Down

0 comments on commit c211cfb

Please sign in to comment.