Skip to content
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

Iterate through filtered file types instead of all listed files #6258

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

tedhli
Copy link
Contributor

@tedhli tedhli commented Jun 15, 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

@vercel
Copy link

vercel bot commented Jun 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ❌ Failed (Inspect) Jun 15, 2023 11:00pm

@vercel vercel bot temporarily deployed to Preview June 15, 2023 23:00 Inactive
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

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

thanks!

@hwchase17 hwchase17 added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Jun 19, 2023
@hwchase17 hwchase17 merged commit 112695e into langchain-ai:master Jun 19, 2023
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm PR looks good. Use to confirm that a PR is ready for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GoogleDriveLoader no longer filters based on file_type paramter
2 participants