Skip to content

feat: allow list[T] to Iterable[T] connections - #12444

Merged
sjrl merged 7 commits into
mainfrom
fix/list-output-iterable-input
Aug 24, 2026
Merged

feat: allow list[T] to Iterable[T] connections#12444
sjrl merged 7 commits into
mainfrom
fix/list-output-iterable-input

Conversation

@sjrl

@sjrl sjrl commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Related Issues

Proposed Changes:

Allow Pipeline component outputs typed as list[T] to connect to inputs typed as Iterable[T].
Lists already satisfy the iterable input contract and are passed through without conversion.

How did you test it?

New tests

Notes for the reviewer

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@sjrl sjrl self-assigned this Aug 24, 2026
@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
haystack-docs Ready Ready Preview Aug 24, 2026 1:41pm

Request Review

@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  haystack/core
  type_utils.py 166
Project Total  

This report was generated by python-coverage-comment-action

@sjrl
sjrl marked this pull request as ready for review August 24, 2026 07:43
@sjrl
sjrl requested a review from a team as a code owner August 24, 2026 07:43
@sjrl
sjrl requested review from davidsbatista and removed request for a team August 24, 2026 07:43

@davidsbatista davidsbatista left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@sjrl
sjrl merged commit 29b4171 into main Aug 24, 2026
24 checks passed
@sjrl
sjrl deleted the fix/list-output-iterable-input branch August 24, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants