MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

How to pass PipelineParameter to DataReference to change the input of a pipeline?

Open whataride opened this issue 7 years ago • 1 comments

Use scenario: A user builds a pipeline to handle an input and hope to run the same pipeline whenever the input changes. The input is in blob storage.

I tried the following and it doesn't work:

input_para = PipelineParameter(name="input_arg", default_value='data')

blob_input_folder = DataReference(
    datastore=def_blob_store,
    data_reference_name="test_data",
    path_on_datastore=input_para
)

I checked the properties of a PipelineParameter object, but I don't find anything useful (name and default_value are there but not useful in this case)

The same question goes to: pass PipelineParameter to PipelineData.

whataride avatar Apr 19 '19 10:04 whataride

Please see this notebook for an example of how to use DataPath with a PipelineParameter.

elihop22 avatar Apr 25 '19 20:04 elihop22