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

Regression in microsoft-kiota-http 1.13.0: DriveItem content.get() returns None

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Start by reproducing the async graph_client.drives...items...content.get() call with microsoft-kiota-http 1.13.0 and the listed environment, then compare it with 1.12.3. Trace the content response handling and add or update coverage for this regression; done means the call returns the expected file bytes rather than None.

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

Mô tả

Environment:
msgraph-sdk: 1.63.0
msgraph-core: 1.5.1
microsoft-kiota-abstractions: 1.13.0
microsoft-kiota-http: 1.13.0
httpx: 0.27.0
Python: 3.12
Databricks

Problem:
DriveItem /content returns None with microsoft-kiota-http 1.13.0.

Same code with microsoft-kiota-http 1.12.3 returns the expected bytes.

Graph metadata reports the file correctly (size: 2346 bytes), and
@microsoft.graph.downloadUrl successfully downloads the file.

file_bytes = await graph_client.drives
.by_drive_id(drive_id)
.items.by_drive_item_id(item_id)
.content.get()

print(file_bytes)

1.13.0: None

1.12.3: expected bytes

Ngôn ngữ chính
Python
Star
31
Fork
40
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
32

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 microsoft/kiota-python

Tất cả issue của microsoft/kiota-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.