dropbox / dropbox/dropbox-sdk-python

Dropbox.files_delete_batch and similiar methods to support deleting a specific version

Đang mở
#491 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
983
Fork
330
Merge trung bình
3 phút
Pull request đã merge (30 ngày)
10

Mô tả

We are running an unattended process which uploads files from a raspberry pi. These files can become corrupt.
The corrupt files remain in the file history.

I would like to detect these corrupt file versions and remove them from the version history.

Could the family of Dropbox.file_delete* (e.g. Dropbox.files_delete_batch) support passing the file version ID? DeleteArgs I believe is passed (as opposed to the a dropbox file path), hence it maybe necessary to add another field to DeleteArgs.

It would actually be amazing these methods would also accept FileMetadata instances to save messing around extracting ids, paths etc. But that is another feature: :)

thanks.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.