Hi @<1702492411105644544:profile|YummyGrasshopper29> ! Parameters can belong to different sections. You should append it before some_parameter
. You likely want ${step2.parameters.kwargs/some_parameter}
Answered
Is There Any Way To Get Value Of Step Parameter/Function Kwarg? This Is From Documentation, But Didn'T Manage To Get Value.
Is there any way to get value of step parameter/function kwarg? This is from documentation, but didn't manage to get value.
pipe.add_function_step(
name='step3',
function=step_3_func,
function_kwargs=dict(dataset='${pipeline.dataset}', #Works fine
tmp_param='${step2.parameters.some_parameter}' #got error
),
cache_executed_step=True,
repo=repo,
repo_branch=repo_branch,
working_dir=working_dir
)
Got 'ValueError: Could not locate parameter parameters.some_parameter on previous step step2
234 Views
1
Answer
3 months ago
3 months ago
Tags