Skip to content

Commit

Permalink
fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsbatista committed Dec 16, 2024
1 parent 080a529 commit c3f09d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/components/preprocessors/recursive_splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _check_params(self):
raise ValueError("All separators must be strings.")

@staticmethod
def _get_custom_sentence_tokenizer(sentence_splitter_params: Optional[Dict[str, str]] = None):
def _get_custom_sentence_tokenizer(sentence_splitter_params: Dict[str, str]):
from haystack.components.preprocessors.sentence_tokenizer import SentenceSplitter

return SentenceSplitter(**sentence_splitter_params)
Expand Down

0 comments on commit c3f09d0

Please sign in to comment.