async def _aparse_nodes(
        self,
        documents: Sequence[BaseNode],
        show_progress: bool = False,
        **kwargs: Any,
    ) -> List[BaseNode]:
        """
        Parse document into nodes.

        Args:
            nodes (Sequence[BaseNode]): nodes to parse

        """
        jobs = [self._aparse_node(d) for d in documents]
        results = await run_jobs(
            jobs,
            workers=self.num_workers,
            desc="Parsing documents into nodes",
            show_progress=show_progress,
        )
        # return flattened results
        return [item for sublist in results for item in sublist]

        Parse document into nodes.

        Args:
            nodes (Sequence[BaseNode]): nodes to parse

        
llama-index-integrations/node_parser/llama-index-node-parser-alibabacloud-aisearch/llama_index/node_parser/alibabacloud_aisearch/base.py