pyDataverse
pyDataverse copied to clipboard
improve write_dict_as_csv() usage of fieldnames
Improve the handling of write_dict_as_csv(). The fieldnames should not be passed, unless no other way around it. Maybe use the default list from the models module, or define a static variable.
Prepare
- [ ] Check best way to solve the problem
Implementation
- [ ] Write tests
- [ ] Update code
- [ ] Update Docs
- [ ] Update Docstrings
- [ ] Run pytest
- [ ] Run tox
- [ ] Run pylint
- [ ] Run mypy
Review
Follow-Ups
As discussed during the 2024-02-14 meeting of the pyDataverse working group, we are closing old milestones in favor of a new project board at https://github.com/orgs/gdcc/projects/1 and removing issues (like this one) from those old milestones. Please feel free to join the working group! You can find us at https://py.gdcc.io and https://dataverse.zulipchat.com/#narrow/stream/377090-python