xlab-steampunk / redfish-client-python

Minimalistic Redfish API client
Apache License 2.0
4 stars 8 forks source link

Make attribute access lazy #26

Closed tadeboro closed 3 years ago

tadeboro commented 3 years ago

If the attribute we are trying to access already exists in the local data, we skip the GET requests to the API and just return whatever value we have at hand. This is most useful if we are only interested in the resource ids and no other resource data.

Fixes #25