Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Incorrect documentation regarding errors during files_batch* requests

Đang mở
#111 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu bằng việc tìm tài liệu cho files_move_batch và files_move_batch_check, sau đó đối chiếu member ApiError được ghi trong tài liệu và module PollError với hành vi SDK đã mô tả. Hoàn tất khi văn bản nhất quán trong việc nêu ApiError.error và dropbox.async.PollError.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

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

Ngôn ngữ chính
Python
Star
983
Fork
331
Merge trung bình
3 phút
Pull request đã merge (30 ngày)
10

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dropbox/dropbox-sdk-python

Tất cả issue của dropbox/dropbox-sdk-python

Issue tương tự

Thêm issue về Python

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.