

def _to_network_domains(self, object):
    network_domains = []
    locations = object.list_locations()
    for element in findall(object, 'networkDomain', TYPES_URN):
        network_domains.append(self._to_network_domain(element, locations))
    return network_domains

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_network_domains/VarMisuse@19/25 `self`->`object`