dropbox / dropbox/dropbox-sdk-python

Incorrect documentation regarding errors during files_batch* requests

オープン
#111 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
983
フォーク
330
平均マージ
3分
マージ済み PR(30日)
10

説明

Hey there,

We're using files_move_batch and files_move_batch_check. Talking to support, they've acknowledge that transient errors can occur during either of these two calls requiring a nominal back-off retry. While try/excepting these conditions, the documentation says that ApiError.reason carries the domain-specific error and in our case the error would be dropbox.files.PollError.

Neither of these cases are accurate: ApiError.**error** contains the error (there is no 'reason' member) and dropbox.**async**.PollError was returned, not dropbox.files.PollError.

We're using dropbox 7.2.1 but I've just checked 7.3.1 docs and the inconsistency remains:
>If this raises, ApiError.reason is of type:
> dropbox.files.PollError

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。