Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
ji-yaqi committed Oct 15, 2021
1 parent 47cf534 commit 80319e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions google/cloud/aiplatform/pipeline_jobs.py
Expand Up @@ -204,9 +204,10 @@ def __init__(
pipeline_root=pipeline_root,
parameter_types={
key: value["type"]
for key, value in pipeline_job["pipelineSpec"]["root"][
"inputDefinitions"
]["parameters"].items()
for key, value in pipeline_job["pipelineSpec"]["root"]
.get("inputDefinitions", {})
.get("parameters", {})
.items()
},
parameter_values=parameter_values,
).build()
Expand Down

0 comments on commit 80319e7

Please sign in to comment.