File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 67
67
ConditionLessThanOrEqualTo ,
68
68
)
69
69
from sagemaker .workflow .condition_step import ConditionStep
70
- from sagemaker .workflow .condition_step import JsonGet as ConditionStepJsonGet
71
70
from sagemaker .workflow .callback_step import (
72
71
CallbackStep ,
73
72
CallbackOutput ,
@@ -2835,8 +2834,8 @@ def test_end_to_end_pipeline_successful_execution(
2835
2834
2836
2835
# define condition step
2837
2836
cond_lte = ConditionLessThanOrEqualTo (
2838
- left = ConditionStepJsonGet (
2839
- step = step_eval ,
2837
+ left = JsonGet (
2838
+ step_name = step_eval . name ,
2840
2839
property_file = evaluation_report ,
2841
2840
json_path = "regression_metrics.mse.value" ,
2842
2841
),
Original file line number Diff line number Diff line change @@ -233,3 +233,5 @@ def test_add_func_of_json_get():
233
233
json_get_func1 + json_get_func2
234
234
235
235
assert str (error .value ) == "Pipeline variables do not support concatenation."
236
+ == == == =
237
+ >> >> >> > 0e4 fd556 (fix : Improve Pipeline workflow unit test branch coverage (#2878))
You can’t perform that action at this time.
0 commit comments