def summary(self, indicator_data):
        """Return a summary value for any given indicator type."""
        summary = None
        for v in self._value_fields:
            if indicator_data.get(v) is not None:
                summary = indicator_data.get(v)
                break
        return indicator_data.get('summary', summary)
Return a summary value for any given indicator type.