Describe the bug
When creating a component using az ml component create, it prints dots .. indicating that the process is running. These are printed to stdout and not stderr. This becomes a problem when using --query argument to capture e.g. the id of the created component --query "id" -o tsv. Since both are using stdout, one gets dtos at the beginning of the id
Related command
az ml component create
Errors
The command does not fail, but any attempt to use the output from --query will
Issue script & Debug output
Not applicable
Expected behavior
The dots indicating progress should log to stderr as all the other logging output.
Environment Summary
azure-cli 2.52.0
core 2.52.0
telemetry 1.1.0
Extensions:
ml 2.19.1
Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/toera/.azure/cliextensions'
Python (Linux) 3.10.10 (main, Aug 31 2023, 09:13:53) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
Describe the bug
When creating a component using
az ml component create, it prints dots..indicating that the process is running. These are printed to stdout and not stderr. This becomes a problem when using--queryargument to capture e.g. the id of the created component--query "id" -o tsv. Since both are using stdout, one gets dtos at the beginning of theidRelated command
az ml component create
Errors
The command does not fail, but any attempt to use the output from
--querywillIssue script & Debug output
Not applicable
Expected behavior
The dots indicating progress should log to stderr as all the other logging output.
Environment Summary
azure-cli 2.52.0
core 2.52.0
telemetry 1.1.0
Extensions:
ml 2.19.1
Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/toera/.azure/cliextensions'
Python (Linux) 3.10.10 (main, Aug 31 2023, 09:13:53) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response