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

community: verbose CSVLoader exception raise #27151

Conversation

chkp-raphaelg
Copy link

Description:

Fix CSVLoader does not raise ValueError for missing metadata columns + tests

Issue: #26434

Twitter handle:

@RaphaelGozlan1

Copy link

vercel bot commented Oct 6, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Dec 16, 2024 9:22pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. community Related to langchain-community Ɑ: doc loader Related to document loader module (not documentation) 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Oct 6, 2024
Copy link
Member

@efriis efriis left a comment

Choose a reason for hiding this comment

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

I like this change in principle, but unfortunately it might have to wait for a minor bump because it will break people's code who are catching RuntimeError currently, and this change would cause ValueError to be thrown. Will discuss with the team and get back to you with either a PR merge or close.

If we do close, will add it to the list to consider for 0.4 (or more likely 1.0 further in the future)

@efriis efriis self-assigned this Dec 13, 2024
@ccurme
Copy link
Collaborator

ccurme commented Dec 18, 2024

Thank you for this! Closing but I've documented this PR in an (internal) list of desired breaking changes and can re-open in next version bump.

@ccurme ccurme closed this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature community Related to langchain-community Ɑ: doc loader Related to document loader module (not documentation) size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants