dropbox / dropbox/dropbox-sdk-python

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

未关闭
#491 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
983
派生
330
平均合并
3 分钟
30 天内合并 PR
10

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。