Skip to content

Commit d0cd364

Browse files
author
Dewen Qi
committed
fix: Update to use the new JsonGet constructor
1 parent 78d9f23 commit d0cd364

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integ/test_workflow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2763,7 +2763,7 @@ def test_end_to_end_pipeline_successful_execution(
27632763
# define condition step
27642764
cond_lte = ConditionLessThanOrEqualTo(
27652765
left=JsonGet(
2766-
step=step_eval,
2766+
step_name=step_eval.name,
27672767
property_file=evaluation_report,
27682768
json_path="regression_metrics.mse.value",
27692769
),

tests/integ/test_workflow_with_clarify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def test_workflow_with_clarify(
238238
)
239239

240240
cond_left = JsonGet(
241-
step=step_process,
241+
step_name=step_process.name,
242242
property_file="BiasOutput",
243243
json_path="post_training_bias_metrics.facets.F1[0].metrics[0].value",
244244
)

0 commit comments

Comments
 (0)