Skip to content

feat: Make PipelineBase().validate_input public#9520

Merged
sjrl merged 2 commits intomainfrom
make-validate-input-public
Jun 16, 2025
Merged

feat: Make PipelineBase().validate_input public#9520
sjrl merged 2 commits intomainfrom
make-validate-input-public

Conversation

@sjrl
Copy link
Copy Markdown
Contributor

@sjrl sjrl commented Jun 16, 2025

Related Issues

Proposed Changes:

Make PipelineBase._validate_input public so users can use it to validate pipelines before runtime. Currently Haystack only calls this internally at runtime.

Making it public signals to users they can use with the confidence it won't receive breaking changes without following our breaking change policy.

How did you test it?

Existing 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 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 documented my code
  • I ran pre-commit hooks and fixed any issue

@sjrl sjrl requested review from a team as code owners June 16, 2025 09:31
@sjrl sjrl requested review from davidsbatista and dfokina and removed request for a team June 16, 2025 09:31
@coveralls
Copy link
Copy Markdown
Collaborator

Pull Request Test Coverage Report for Build 15677141493

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 90.326%

Totals Coverage Status
Change from base Build 15635934324: 0.0%
Covered Lines: 11541
Relevant Lines: 12777

💛 - Coveralls

Copy link
Copy Markdown
Contributor

@davidsbatista davidsbatista left a comment

Choose a reason for hiding this comment

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

LGTM

@sjrl sjrl merged commit ba6f5ee into main Jun 16, 2025
20 checks passed
@sjrl sjrl deleted the make-validate-input-public branch June 16, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants