Description
Describe the bug
I am trying to run a command job and setting an environment variable as boolean as mentioned in this section
But running this job using az ml job create
gives validation error that an environment variable needs to be a string.
Even tried with --skip-validation
parameter, but it conveniently ignores that parameter and still throws that error. Any help?
Related command
az ml job create --subscription <sub_id> --resource-group --workspace-name --file "<file_path>.yaml" --stream
Errors
Issue script & Debug output
...
Expected behavior
Ability to accept boolean values as environment variables in a command Job as explained in the link: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-read-write-data-v2?view=azureml-api-2&tabs=cli#available-mount-settings
Environment Summary
azure-cli 2.69.0
core 2.69.0
telemetry 1.1.0
Extensions:
ml 2.35.0
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Python location '/anaconda/envs/azureml_py38/bin/python'
Config directory '/home/azureuser/.azure'
Extensions directory '/opt/az/extensions'
Python (Linux) 3.10.11 | packaged by conda-forge | (main, May 10 2023, 18:58:44) [GCC 11.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
Activity