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
GoogleDriveLoader no longer filters based on file_type paramter #6257
Comments
hwchase17
pushed a commit
that referenced
this issue
Jun 19, 2023
# Iterate through filtered file types instead of all listed files Fixes #6257 #4926 originally added the functionality to filter by file type, storing the filtered files in `_files` #5220 removed the functionality when adding code to filter trashed files by using the `files` variables instead of the `_files` variable. This PR simply adds the functionality back by using `_files` again. #### Who can review? @hwchase17 - project lead @eyurtsev
kacperlukawski
pushed a commit
to kacperlukawski/langchain
that referenced
this issue
Jun 29, 2023
…chain-ai#6258) # Iterate through filtered file types instead of all listed files Fixes langchain-ai#6257 langchain-ai#4926 originally added the functionality to filter by file type, storing the filtered files in `_files` langchain-ai#5220 removed the functionality when adding code to filter trashed files by using the `files` variables instead of the `_files` variable. This PR simply adds the functionality back by using `_files` again. #### Who can review? @hwchase17 - project lead @eyurtsev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Info
Python 3.10, langchain=0.0.201
Who can help?
@eyurtsev
Information
Related Components
Reproduction
Load any folder with multiple file types and pass the file_type parameter. It will not filter any types.
Expected behavior
It should filter to the provided list of file types.
The text was updated successfully, but these errors were encountered: