File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ def add_assertion(self, assertion_params):
693693 if not isinstance (assertion_params , DSSMLAssertionParams ):
694694 raise ValueError ('Wrong type for assertion parameters: {}' .format (type (assertion_params )))
695695
696- self ._internal_dict ["assertions" ].append (assertion_params ._internal_dict )
696+ self ._internal_dict ["assertions" ].append (assertion_params .get_raw () )
697697
698698 def delete_assertion (self , assertion_name ):
699699 """
@@ -786,7 +786,7 @@ def condition(self):
786786 def condition (self , condition ):
787787 if not isinstance (condition , DSSMLAssertionCondition ):
788788 raise ValueError ('Wrong type for assertion condition: {}' .format (type (condition )))
789- self ._internal_dict ["assertionCondition" ] = condition ._internal_dict
789+ self ._internal_dict ["assertionCondition" ] = condition .get_raw ()
790790
791791
792792class DSSMLAssertionCondition (object ):
You can’t perform that action at this time.
0 commit comments