Updating arguments in PythonScriptStep is not reflected in published pipeline
Steps to reproduce
- Create a PythonScriptStep with name "output" and arguments=["--format", "json"]
- Publish pipeline
- Update PythonScriptStep with the same name "output" and arguments=["--format", "geojson"]
- Publish pipeline
- Notice in the UI and at runtime that the --format argument still has the old value "json"
Had to resort to change the name of the step to avoid this issue.
Actual code: PythonScriptStep( script_name="output.py", name="output" arguments=["--inputs", self.inputs, "--format", "json", "--pipeline_data", pipeline_data[0], "--output", output], inputs=[pipeline_data[0]], outputs=[output], compute_target=self.compute_target, source_directory=self.project_folder, runconfig=self.run_config, allow_reuse=False ),
After change PythonScriptStep( script_name="output.py", name="output" arguments=["--inputs", self.inputs, "--format", "geojson", "--pipeline_data", pipeline_data[0], "--output", output], inputs=[pipeline_data[0]], outputs=[output], compute_target=self.compute_target, source_directory=self.project_folder, runconfig=self.run_config, allow_reuse=False ),
@ficocesari you're awesome for making a repo. not fun. also happened to me (#771 ) @alexkalita let me know the fix is in a pre-release version of the SDK version 1.1.0rc0 as well as future versions
Thanks! This is great, thanks for relaying the info. Will try 1.1.0rc0
On Mar 3, 2020, at 10:34 AM, Anders [email protected] wrote:
@ficocesari https://github.com/ficocesari you're awesome for making a repo. not fun. also happened to me (#771 https://github.com/Azure/MachineLearningNotebooks/issues/771 ) @alexkalita https://github.com/alexkalita let me know the fix is in a pre-release version of the SDK version 1.1.0rc0 as well as future versions
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/MachineLearningNotebooks/issues/825?email_source=notifications&email_token=AAZ5Y2BHD3R5EDA4PREIVHDRFVERZA5CNFSM4K5VC5ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENUUDVA#issuecomment-594100692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ5Y2D5YDMFH2OFNXCKOU3RFVERZANCNFSM4K5VC5ZA.
We will now proceed to close this thread. Thanks.