You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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
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: