Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeMe committed May 22, 2024
1 parent bd689ec commit 955377f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions haystack_experimental/evaluation/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ def deaggregate_batched_pipeline_inputs(inputs: Dict[str, Dict[str, List[Any]]])
if len(inputs) == 0:
return []

sentinel = next(iter(inputs.values())) # First component's inputs
sentinel = next(iter(sentinel.values())) # First component's first input's values
# First component's inputs
sentinel = next(iter(inputs.values()))
# First component's first input's values
sentinel = next(iter(sentinel.values())) # type: ignore

for component_name, component_inputs in inputs.items():
for input_name, input_values in component_inputs.items():
Expand Down

0 comments on commit 955377f

Please sign in to comment.