File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -731,8 +731,7 @@ def __init__(self, data):
731731 self ._internal_dict = data
732732
733733 def __repr__ (self ):
734- return u"DSSMLAssertionParams(name= '{name}', condition= {condition}, filter= {filter})" .format (
735- name = self .name , filter = self .filter , condition = self .condition )
734+ return u"{}({})" .format (self .__class__ .__name__ , self .get_raw ())
736735
737736 @staticmethod
738737 def from_params (name , a_filter , condition ):
@@ -812,9 +811,7 @@ def __init__(self, data):
812811 self ._internal_dict = data
813812
814813 def __repr__ (self ):
815- return u"DSSMLAssertionCondition(expected_valid_ratio = {}, expected_class= {}," \
816- u" expected_min={}, expected_max={})" .format (
817- self .expected_valid_ratio , self .expected_class , self .expected_min , self .expected_max )
814+ return u"{}({})" .format (self .__class__ .__name__ , self .get_raw ())
818815
819816
820817 @staticmethod
You can’t perform that action at this time.
0 commit comments