pyDataverse icon indicating copy to clipboard operation
pyDataverse copied to clipboard

improve write_dict_as_csv() usage of fieldnames

Open skasberger opened this issue 4 years ago • 1 comments

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

skasberger avatar Feb 15 '21 19:02 skasberger

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

pdurbin avatar Feb 14 '24 20:02 pdurbin