iotedgedev
iotedgedev copied to clipboard
Add caching to `azure_cli` to optimize performance
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)