0

I'm trying to build a pipeline in AzureML using python SDK and publish as endpoint. The goal is to be able to send a param to the endpoint which allow me to skip some steps when is True.

So for example if skip is True, the second and third steps in the pipeline should be skipped

If skip = False pipeline_steps = [first, second, third, fourth]

If skip = True pipeline_steps = [first, fourth]

At the moment, I'm simply using an if to skip the code inside the step (not the step itself).

# third_step.py

if not skip:
    # step code here
    ...

Is it possible to completely skip the steps?

Jorge LG
  • 13
  • 2

0 Answers0