def compile_once_block(self, block):
    elements = []
    once_controller = JMX._get_once_controller()
    children = etree.Element('hashTree')
    for compiled in self.compile_requests(block.requests):
        for element in compiled:
            children.append(element)
    elements.extend([once_controller, children])
    return elements
def compile_once_block(self, block):
    elements = []
    once_controller = JMX._get_once_controller()
    children = etree.Element('hashTree')
    for compiled in self.compile_requests(block.requests):
        for element in compiled:
            children.append(element)
    elements.extend([once_controller, children])
    return elements