def transform_documents(
        self, documents: Sequence[SplitterDocument], **kwargs: Any
    ) -> Sequence[SplitterDocument]:
        """Transform sequence of documents by splitting them."""
        return self.split_documents(list(documents))
Transform sequence of documents by splitting them.
py/shared/utils/splitter/text.py