Azure / Azure/iotedgedev

Add caching to `azure_cli` to optimize performance

Open
#595 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.