

def _to_volumes(self, object):
    volumes = []
    for storage in object.findall('STORAGE'):
        storage_id = storage.attrib['href'].partition('/storage/')[2]
        volumes.append(volumes._to_volume(self.connection.request(('/storage/%s' % storage_id)).object))
    return volumes

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py OpenNebula_3_6_NodeDriver._to_volumes/VarMisuse@50/62 `self`->`volumes`