Open pop134 opened 2 years ago
It seems that PythonScriptStep take tuple defined as you did up, but for the ParallelRunStep you need to provide some of these types:
datastore = Datastore(workspace=workspace, name="workspaceblobstore")
datapath = DataPath(datastore=datastore, path_on_datastore='input_data')
**data_path_pipeline_param = (PipelineParameter(name="input_data", default_value=datapath),
DataPathComputeBinding(mode='mount'))**
# Should be changed to this for ParallelRunStep
datastore = Datastore(workspace=workspace, name="workspaceblobstore")
datapath = DataPath(datastore=datastore, path_on_datastore='input_data')
input_data_parameter = PipelineParameter(name="input_data", default_value=datapath )
**input_data_consumption = DatasetConsumptionConfig("input_data_videos", input_data_parameter).as_mount()**
[Enter feedback here] I'm following this example to create a PipelineParameters for my Parallel pipeline
This is my code to create the pipeline with the parameters
And it raised this error:
I'm using azureml-core==1.40.0.post2, azureml-pipeline==1.40.0 It's seems like the sample code is not supported with these version? Before trying this datapath as pipeline parameter, I tried int type input and its just work fine
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.