Closed JR-1991 closed 5 months ago
This PR aligns to the recent python-dvuploader release, where it is possible to pass a different display name for a file.
python-dvuploader
Example
dataverse = Dataverse(BASE_URL, API_TOKEN) dataset = dataverse.load_dataset(PID) dataset.add_file(local_path="original.txt", filename="something_different.txt")
The file will be uploaded as something_different.txt instead of original.txt
something_different.txt
original.txt
This PR aligns to the recent
python-dvuploader
release, where it is possible to pass a different display name for a file.Example
The file will be uploaded as
something_different.txt
instead oforiginal.txt