langchain/tests/unit_tests/document_loader
Paresh Mathur e2bc836571
Fix #4087 by setting the correct csv dialect (#4103)
The error in #4087 was happening because of the use of csv.Dialect.*
which is just an empty base class. we need to make a choice on what is
our base dialect. I usually use excel so I put it as excel, if
maintainers have other preferences do let me know.

Open Questions:
1. What should be the default dialect?
2. Should we rework all tests to mock the open function rather than the
csv.DictReader?
3. Should we make a separate input for `dialect` like we have for
`encoding`?

---------

Co-authored-by: = <=>
2023-05-13 20:35:01 -07:00
..
blob_loaders Add progress bar to filesystemblob loader, update pytest config for unit tests (#4212) 2023-05-08 16:15:09 -04:00
parsers Turn on extended tests (#4588) 2023-05-12 14:50:08 -04:00
test_docs/csv Fix #4087 by setting the correct csv dialect (#4103) 2023-05-13 20:35:01 -07:00
__init__.py Harrison/youtube loader (#1545) 2023-03-08 20:53:27 -08:00
test_base.py Add BlobParser abstraction (#3979) 2023-05-05 21:43:38 -04:00
test_csv_loader.py Fix #4087 by setting the correct csv dialect (#4103) 2023-05-13 20:35:01 -07:00
test_youtube.py Harrison/youtube loader (#1545) 2023-03-08 20:53:27 -08:00