From 16cd484000369fca053590d4f8af3127afc323f2 Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Mon, 9 Dec 2024 17:05:27 +0100 Subject: [PATCH] fixing some internal methods --- haystack/components/readers/extractive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/haystack/components/readers/extractive.py b/haystack/components/readers/extractive.py index 1673ba71c2..460c87e083 100644 --- a/haystack/components/readers/extractive.py +++ b/haystack/components/readers/extractive.py @@ -342,8 +342,9 @@ def _add_answer_page_number(self, answer: ExtractedAnswer) -> ExtractedAnswer: return answer - def _nest_answers( # pylint: disable=too-many-positional-arguments + def _nest_answers( self, + *, start: List[List[int]], end: List[List[int]], probabilities: "torch.Tensor",