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

Save data as json not working #69

Open
2 tasks
akariv opened this issue Feb 1, 2019 · 0 comments
Open
2 tasks

Save data as json not working #69

akariv opened this issue Feb 1, 2019 · 0 comments

Comments

@akariv
Copy link
Member

akariv commented Feb 1, 2019

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'
  • Add tests for this scenario
  • Make sure they pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant