

def ex_delete_public_ip_block(self, block):
    delete_node = ET.Element('removePublicIpBlock', {
        'xmlns': TYPES_URN,
    })
    delete_node.set('id', block.id)
    result = delete_node.connection.request_with_orgId_api_2('network/removePublicIpBlock', method='POST', data=ET.tostring(delete_node)).object
    response_code = findtext(result, 'responseCode', TYPES_URN)
    return (response_code in ['IN_PROGRESS', 'OK'])

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_delete_public_ip_block/VarMisuse@43/64 `self`->`delete_node`