

def _get_attributes_values(self, attributes, element):
    values = {
        
    }
    for (attribute_name, attribute_type, alias) in attributes:
        key = (alias if alias else element.upper())
        value = element.findtext(key)
        if (value is not None):
            value = attribute_type(value)
        values[attribute_name] = value
    return values

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py OpenNebula_3_2_NodeDriver._get_attributes_values/VarMisuse@41/50 `attribute_name`->`element`