Closed johanneslanger closed 3 years ago
I noticed it works when setting:
stepA.add_depends_on([stepB.name])
instead of
stepA.add_depends_on([stepB])
Is this intended and just a documentation mistake?
Hi there, the latest release will support passing either step object or step name string to the depends on list.
Describe the bug In SageMakerPipelines when using stepA.add_depends_on([stepB]) and stepB is either a CallBack or LambdaStep, the Pipeline fails to serialize/upsert.
To reproduce Define a pipeline with a step that depends on either a CallBackStep or LambdaStep. Then call pipeline.definition() or pipeline.upsert()
Expected behavior Custom Dependency should work for lambda and callback steps
Screenshots or logs If applicable, add screenshots or logs to help explain your problem.
System information A description of your system. Please provide:
Additional context Add any other context about the problem here.