def flush_node_data_buffer(self) -> List[NodeData]:
        """
        Clears the node data buffer and returns the data.

        Returns:
            List[NodeData]: The node data.

        """
        node_data_buffer = self._node_data_buffer
        self._node_data_buffer = []
        return node_data_buffer

        Clears the node data buffer and returns the data.

        Returns:
            List[NodeData]: The node data.

        
llama-index-integrations/callbacks/llama-index-callbacks-openinference/llama_index/callbacks/openinference/base.py