Hi, and thanks very much for this library.
I noticed that when trying to feed the CsvFileSource a gzip file, I got this error:
TypeError: argument 1 must be an iterator
After some digging I found out that csv.reader() expects an iterator, which, unfortunately, is not what self.open_file() returns (see FileBasedSource).
This test exposes the problem, and this addition to sources.py fixed my problem.
Hi, and thanks very much for this library.
I noticed that when trying to feed the CsvFileSource a gzip file, I got this error:
After some digging I found out that
csv.reader()expects an iterator, which, unfortunately, is not whatself.open_file()returns (see FileBasedSource).This test exposes the problem, and this addition to sources.py fixed my problem.