in2csv --no-inference fail: TypeError: 'type_inference' is an invalid keyword argument for this function
Created by: nealmcb
It seems that in2csv is now just sending all its arguments as kwargs to csv.reader, which doesn't handle the 'type_inference' argument.
$ in2csv -v --no-inference csvkit-testinference.csv > to-n.csv Traceback (most recent call last): File "/usr/local/bin/in2csv", line 9, in load_entry_point('csvkit==0.9.0', 'console_scripts', 'in2csv')() File "/usr/local/lib/python2.7/dist-packages/csvkit/utilities/in2csv.py", line 82, in launch_new_instance utility.main() File "/usr/local/lib/python2.7/dist-packages/csvkit/utilities/in2csv.py", line 76, in main data = convert.convert(self.input_file, filetype, **kwargs) File "/usr/local/lib/python2.7/dist-packages/csvkit/convert/__init__.py", line 44, in convert return csv2csv(f, **kwargs) File "/usr/local/lib/python2.7/dist-packages/csvkit/convert/csvitself.py", line 11, in csv2csv tab = table.Table.from_csv(f, **kwargs) File "/usr/local/lib/python2.7/dist-packages/csvkit/table.py", line 210, in from_csv rows = CSVKitReader(f, **kwargs) File "/usr/local/lib/python2.7/dist-packages/csvkit/unicsv.py", line 44, in __init__ self.reader = csv.reader(f, **kwargs) TypeError: 'type_inference' is an invalid keyword argument for this function