Skip to content

Commit

Permalink
Fix PipelineParam hashing bug
Browse files Browse the repository at this point in the history
Use PipelineParam's pattern when hashing.

Signed-off-by: Ilias Katsakioris <elikatsis@arrikto.com>
  • Loading branch information
elikatsis committed May 8, 2019
1 parent 20527a3 commit b7d7b77
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 @@ -224,7 +224,7 @@ def __ge__(self, other):
return ConditionOperator('>=', self, other)

def __hash__(self):
return hash((self.op_name, self.name))
return hash((self.op_name, self.name, self.pattern))

def ignore_type(self):
"""ignore_type ignores the type information such that type checking would also pass"""
Expand Down

0 comments on commit b7d7b77

Please sign in to comment.