def buildAttributes(self, node, attrs, already_processed):
        value = find_attr_value_('units', node)
        if value is not None:

            self.units = value
        value = find_attr_value_('trend', node)
        if value is not None:

            self.trend = value
        value = find_attr_value_('rate', node)
        if value is not None:

            try:
                self.rate = float(value)
            except __HOLE__ as exp:
                raise ValueError('Bad float/double attribute (rate): %s' % exp)
        value = find_attr_value_('scale', node)
        if value is not None:

            self.scale = value
dataset/ETHPy150Open CybOXProject/python-cybox/cybox/bindings/cybox_core.py/FrequencyType.buildAttributes