gdcc / pyDataverse

Python module for Dataverse Software (dataverse.org).
http://pydataverse.readthedocs.io/
MIT License
63 stars 43 forks source link

More file upload descriptors #61

Closed Ajax23 closed 3 years ago

Ajax23 commented 3 years ago

Add an optional file description and directory field to the file upload function. The directory field can be used to sort data for the new tree-view listing in dataverse.

skasberger commented 3 years ago

I recommend using the develop branch, where this issue is already solved, or wait for the new release coming this/next week.

Fixed function: https://github.com/gdcc/pyDataverse/blob/a9f730d680d83a66b9876df4f8e3913fe02aa5a7/src/pyDataverse/api.py#L1665

skasberger commented 3 years ago

But thank you very much for your contribution!

And one thing: please always create Pull Requests against the develop branch.

Ajax23 commented 3 years ago

Ah, I am sorry for that... I forgot about the development branch since I am used to working alone on projects ^^

skasberger commented 3 years ago

I know exactly what you mean. It's my first project, where others are using it. :)