gdcc / easyDataverse

🪐 - Lightweight Dataverse interface in Python to upload, download and update datasets found in Dataverse installations.
MIT License
15 stars 4 forks source link

Fix date fields not accepting years #27

Closed JR-1991 closed 19 hours ago

JR-1991 commented 4 months ago

Overview

This pull request addresses the validation errors that occur when only the year is entered in a 'date' field. As there is no direct alternative that accommodates both year and complete dates, this pull request modifies the expected data type from 'date' to 'str' and delegates the validation of the actual string to Dataverse.

TLDR