Publishing pipeline endpoints with SDK V2

Anirban Ray 6 Reputation points
2023-01-10T15:56:37.177+00:00

Hi,

I created a basic two step pipeline with v2 SDK. It takes two inputs, first and last name. The first step prints Hello {first name}, and the second step prints Bye {last name}.

I ran this pipeline successfully giving my name as inputs, and then clicked on publish pipeline. That was successful, but I notice that now my name is being considered as a default value of the inputs. I do not want that, and I want the inputs to be mandatory user inputs.

In other words, I want to know how can I publish the pipeline without any default values, and not a particular run of the pipeline?

To clarify why I do not want default values as inputs of one run, this is a dummy pipeline. But the real pipelines can take many things, possibly sensitive, as inputs, and I do not want those to be available to everyone as default value.

Also, a related question, is there a way to programmatically publish a pipeline endpoint?

Thanks.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,839 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.