diff --git a/haystack/components/preprocessors/document_splitter.py b/haystack/components/preprocessors/document_splitter.py index ee6a47dc95..c045c82f44 100644 --- a/haystack/components/preprocessors/document_splitter.py +++ b/haystack/components/preprocessors/document_splitter.py @@ -116,8 +116,9 @@ def __init__( # pylint: disable=too-many-positional-arguments keep_white_spaces=True, ) - def _init_checks( # pylint: disable=too-many-positional-arguments + def _init_checks( self, + *, split_by: str, split_length: int, split_overlap: int,