feat: adds metadata and batch_index to batch_run#6318
Merged
edwinjosechittilappilly merged 10 commits intomainfrom Feb 14, 2025
Merged
feat: adds metadata and batch_index to batch_run#6318edwinjosechittilappilly merged 10 commits intomainfrom
edwinjosechittilappilly merged 10 commits intomainfrom
Conversation
Yukiyukiyeah
pushed a commit
that referenced
this pull request
Mar 31, 2025
* Update batch_run.py * updates to test component and fixes formatting * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: anovazzi1 <[email protected]> Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the
BatchRunComponentin thelangflowpackage, adding new features and enhancing existing functionalities. It also includes updates to the related unit tests to ensure comprehensive test coverage.Enhancements to
BatchRunComponent:BoolInputandMessageTextInputtoBatchRunComponentand marked several inputs as required. (src/backend/base/langflow/components/helpers/batch_run.py) [1] [2] [3] [4]run_batchmethod to include metadata in the output DataFrame and handle errors gracefully. (src/backend/base/langflow/components/helpers/batch_run.py) [1] [2] [3]Unit Test Updates:
src/backend/tests/unit/components/helpers/test_batch_run_component.py) [1] [2] [3]src/backend/tests/unit/api/v1/test_api_schemas.py,src/backend/tests/unit/mock_language_model.py,src/backend/tests/unit/serialization/test_serialization.py,src/backend/tests/unit/test_schema.py) [1] [2] [3] [4]