MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

Updating arguments in PythonScriptStep is not reflected in published pipeline

Open ficocesari opened this issue 6 years ago • 3 comments

Steps to reproduce

  1. Create a PythonScriptStep with name "output" and arguments=["--format", "json"]
  2. Publish pipeline
  3. Update PythonScriptStep with the same name "output" and arguments=["--format", "geojson"]
  4. Publish pipeline
  5. 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 avatar Feb 28 '20 17:02 ficocesari

@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

dataders avatar Mar 03 '20 18:03 dataders

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.

ficocesari avatar Mar 05 '20 19:03 ficocesari

We will now proceed to close this thread. Thanks.

GiftA-MSFT avatar Mar 10 '20 20:03 GiftA-MSFT