Skip to content

Commit

Permalink
fix: pipeline none values (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
ji-yaqi committed Aug 24, 2021
1 parent 8d88c00 commit 2f89343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/aiplatform/utils/pipeline_utils.py
Expand Up @@ -129,7 +129,7 @@ def _get_vertex_value(
ValueError: if the parameter name is not found in pipeline root
inputs, or value is none.
"""
if not value:
if value is None:
raise ValueError("None values should be filterd out.")

if name not in self._parameter_types:
Expand Down

0 comments on commit 2f89343

Please sign in to comment.