- class openpnm.utils.HealthDict(**kwargs)¶
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.
move_to_end(/, key[, last])
Move an existing element to the end (or beginning if last is false).