datahq / dataflows

DataFlows is a simple, intuitive lightweight framework for building data processing flows in python.
https://dataflows.org
MIT License
195 stars 40 forks source link

Save data as json not working #69

Open akariv opened 5 years ago

akariv commented 5 years ago
Traceback (most recent call last):
  File "exercise.py", line 24, in <module>
    dump_to_path(out_path='data', format='json')
  ...
  File "/home/zelima/anaconda3/envs/dataflows/lib/python3.7/site-packages/dataflows/processors/dumpers/file_formats.py", line 30, in __init__
    self.headers = [f.name for f in schema.fields]
AttributeError: 'NoneType' object has no attribute 'fields'