HealthDict#

class HealthDict(**kwargs)[source]#

This class adds a ‘health’ check to a standard dictionary.

This check looks into the dict values, and considers empty lists as healthy and all else as unhealthy. If one or more entries is ‘unhealthy’ the health method returns False.

Attributes:
health