create_script_run

health.azure.create_script_run(snapshot_root_directory=None, entry_script=None, script_params=None)[source]

Creates an AzureML ScriptRunConfig object, that holds the information about the snapshot, the entry script, and its arguments.

Parameters
  • entry_script (Union[Path, str, None]) – The script that should be run in AzureML.

  • snapshot_root_directory (Optional[Path]) – The directory that contains all code that should be packaged and sent to AzureML. All Python code that the script uses must be copied over.

  • script_params (Optional[List[str]]) – A list of parameter to pass on to the script as it runs in AzureML. If empty (or None, the default) these will be copied over from sys.argv, omitting the –azureml flag.

Return type

ScriptRunConfig

Returns