creates APIHandler methods for downloading attachments

method 'download_attachments_data" works with elabapi.UploadsApi() class
to download binary data and other metadata of our files.
CURRENTLY it downloads every single attachment which is not intended
and it's only for testing purposes

"download_attachments_to_disk" saves binary data to "output/attachments"
This commit is contained in:
2026-05-08 18:11:53 +02:00
parent 8e7a424320
commit 1ef944288e
2 changed files with 104 additions and 19 deletions

View File