Skip to content

Commit

Permalink
Fix PipelineParam hashing bug
Browse files Browse the repository at this point in the history
Generate a pattern in the contructor if one is not provided.

Signed-off-by: Ilias Katsakioris <elikatsis@arrikto.com>
  • Loading branch information
elikatsis committed May 8, 2019
1 parent 51d7e98 commit 348ea1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/dsl/_pipeline_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def __init__(self, name: str, op_name: str=None, value: str=None, param_type: Ty
self.op_name = op_name if op_name else None
self.value = value if value else None
self.param_type = param_type
self.pattern = pattern
self.pattern = pattern or str(self)

@property
def full_name(self):
Expand Down

0 comments on commit 348ea1f

Please sign in to comment.