az ml component create progress indicator should log to stderr, not stdout
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.