I notice there is an option to use writemode
mode=dropbox.files.WriteMode.overwrite
when using uploading API ( dbx.files_upload() ), but there is no option for copying/moving file api. Can we add that? I'm using Python SDK:
dbx.files_move_v2()
dbx.files_copy_v2()
and have been writing many boilerplates to handle file conflicts.
Also, what is the proper way to handle this, right now I'm doing:
try:
dbx.files_copy_v2(from_path=entry.path_display, to_path=path_to_autopdf_folder)
except WriteConflictError as e:
but getting "catching classes that do not inherit from baseexception is not allowed python".
Appreciate the help.