create_script_run
- health_azure.create_script_run(script_params, snapshot_root_directory=None, entry_script=None)[source]
Creates an AzureML ScriptRunConfig object, that holds the information about the snapshot, the entry script, and its arguments.
- Parameters
script_params (
List
[str
]) – A list of parameter to pass on to the script as it runs in AzureML. Required arg. Script parameters can be generated using the_get_script_params()
function.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.entry_script (
Union
[Path
,str
,None
]) – The script that should be run in AzureML. If None, the current main Python file will be executed.
- Return type
ScriptRunConfig
- Returns