presslabs / zinc

Route 53 zone manager.
https://www.presslabs.com/code/zinc/
Other
42 stars 2 forks source link

Make HealthCheck.aws_data a propery #111

Closed calind closed 7 years ago

calind commented 7 years ago

https://github.com/PressLabs/zinc/blob/master/dns/utils/route53.py#L260

HealthCheck.aws_data should be a propery which lazily loads aws data and caches it. The current implementation (having to call self._load() befoare any call which requires aws_data) is a bit awkward.

Also, please make HealthCheck class to inherit from object.