@@ -202,15 +202,15 @@ def test_pipeline_condition_step_interpolated(sagemaker_session):
202202 },
203203 {
204204 "Type" : "Not" ,
205- "Expression " : {
205+ "Condition " : {
206206 "Type" : "Equals" ,
207207 "LeftValue" : {"Get" : "Parameters.MyInt1" },
208208 "RightValue" : {"Get" : "Parameters.MyInt2" },
209209 },
210210 },
211211 {
212212 "Type" : "Not" ,
213- "Expression " : {
213+ "Condition " : {
214214 "Type" : "In" ,
215215 "QueryValue" : {"Get" : "Parameters.MyStr" },
216216 "Values" : ["abc" , "def" ],
@@ -533,9 +533,9 @@ def func2():
533533 assert len (step_dsl ["Arguments" ]["Conditions" ]) == 1
534534 condition_dsl = step_dsl ["Arguments" ]["Conditions" ][0 ]
535535 assert condition_dsl ["Type" ] == "Not"
536- cond_expr_dsl = condition_dsl ["Expression " ]
536+ cond_expr_dsl = condition_dsl ["Condition " ]
537537 assert cond_expr_dsl ["Type" ] == "Not"
538- cond_inner_expr_dsl = cond_expr_dsl ["Expression " ]
538+ cond_inner_expr_dsl = cond_expr_dsl ["Condition " ]
539539 assert cond_inner_expr_dsl ["Type" ] == "Or"
540540 assert len (cond_inner_expr_dsl ["Conditions" ]) == 2
541541 assert cond_inner_expr_dsl ["Conditions" ][0 ]["LeftValue" ] == _get_expected_jsonget_expr (
@@ -602,7 +602,7 @@ def func4():
602602 assert len (step_dsl ["Arguments" ]["Conditions" ]) == 1
603603 condition_dsl = step_dsl ["Arguments" ]["Conditions" ][0 ]
604604 assert condition_dsl ["Type" ] == "Not"
605- cond_expr_dsl = condition_dsl ["Expression " ]
605+ cond_expr_dsl = condition_dsl ["Condition " ]
606606 assert cond_expr_dsl ["Type" ] == "In"
607607 assert cond_expr_dsl ["QueryValue" ] == _get_expected_jsonget_expr (
608608 step_name = step_output3 ._step .name , path = "Result"
0 commit comments