Add caching to `azure_cli` to optimize performance
Open
InBacklog
- Dominant language
- Python
- Stars
- 166
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
Some calls to the `azure_cli` wrapper are being called multiple times, where the result can easily be cached.
For example: `get_default_subscription` (see usage https://github.com/Azure/iotedgedev/blob/main/iotedgedev/cli.py#L665 where a local value is used to keep the result)
Contributor guide
Assessment
This issue has not been assessed yet.