-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change return types of indexing pipeline nodes #2342
Merged
+875
−415
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
7a7c1cd
Change return types of file converters
bogdankostic a549ff5
Change return types of preprocessor
bogdankostic 638df72
Change return types of crawler
bogdankostic d15756f
Adapt utils to functions to new return types
bogdankostic fbf69c2
Adapt __init__.py to new method names
bogdankostic c07b622
Prevent circular imports
bogdankostic fcfc646
Update Documentation & Code Style
github-actions[bot] dec74a2
Let DocStores' run method accept Documents
bogdankostic 6edd010
Adapt tests to new return types
bogdankostic 44e8ce3
Update Documentation & Code Style
github-actions[bot] 0c8784d
Put "# type: ignore" to right place
bogdankostic 65fc302
Remove id_hash_keys property from Document primitive
bogdankostic dc44b8d
Update Documentation & Code Style
github-actions[bot] 1b7d066
Adapt tests to new return types and missing id_hash_keys property
bogdankostic 8d9e923
Merge remote-tracking branch 'origin/change_return_types' into change…
bogdankostic 61bedc6
Fix mypy
bogdankostic b73cb6a
Fix mypy
bogdankostic 0088d36
Adapt PDFToTextOCRConverter
bogdankostic 3d2454c
Remove id_hash_keys from RestAPI tests
bogdankostic b6e2075
Update Documentation & Code Style
github-actions[bot] eae97f7
Rename tests
bogdankostic 2d681c7
Remove redundant setting of content_type="text"
bogdankostic 2a67a09
Add DeprecationWarning
bogdankostic 19ea446
Add id_hash_keys to elasticsearch_index_to_document_store
bogdankostic a3432d0
Change document type from dict to Docuemnt in PreProcessor test
bogdankostic ec8ccf0
Fix file path in Tutorial 5
bogdankostic eb0ad8a
Remove added output in Tutorial 5
bogdankostic 1aa48c9
Update Documentation & Code Style
github-actions[bot] 54783cf
Fix file_paths in Tutorial 9 + fix gz files in fetch_archive_from_http
bogdankostic a028f2a
Adapt tutorials to new return types
bogdankostic b69d391
Merge remote-tracking branch 'origin/master' into change_return_types
bogdankostic d2f389d
Adapt tutorial 14 to new return types
bogdankostic f8b3630
Merge remote-tracking branch 'origin/change_return_types' into change…
bogdankostic cf065e8
Update Documentation & Code Style
github-actions[bot] 8be88b8
Change assertions to HaystackErrors
bogdankostic 2ab2644
Merge remote-tracking branch 'origin/change_return_types' into change…
bogdankostic b895772
Import HaystackError correctly
bogdankostic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain why we have this change here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to remove this in the Pinecone PR. We don't need the API key here in these tests, as we don't test pinecone inside this job but inside the
test-pinecone
job. (The API Key is already used there:haystack/.github/workflows/linux_ci.yml
Line 392 in a398094