Wrongly defined `delta` on messages

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

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

Đánh giá

Độ khó
2/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
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Bắt đầu với định nghĩa trong users/item/messages/messages_request_builder.py quanh dòng 140 và so sánh nó với tài liệu về tài nguyên message của Microsoft Graph. Kiểm tra cách messages delta request được cung cấp và xác nhận hành vi API không được hỗ trợ; hoàn tất khi invalid messages-level delta operation không còn được định nghĩa hoặc được căn chỉnh theo cách khác với hỗ trợ per-mailfolder được tài liệu hóa.

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

Mô tả

status:waiting-for-triage type:bug
Describe the bug

We define a delta on messages (https://github.com/microsoftgraph/msgraph-sdk-python/blob/9542fa0b95c58822968116896048a00fe911eda4/msgraph/generated/users/item/messages/messages_request_builder.py#L140) that can be used like await client.users.by_user_id(some_id).messages.delta.get(), however the API doesn't support this (yet) and thus simply returns Unsupported request: Change tracking is not supported against 'microsoft.graph.message'.

Tracking changes on messages, according to the docs, only exists on a per mailfolder basis. message resource type

Expected behavior

Not having it defined (or get Graph API to finally support tracking).

How to reproduce

Given some GraphServiceClient client, a user or mailbox with id some_id and appropriate permissions call:

await client.users.by_user_id(some_id).messages.delta.get()
SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration

No response

Other information

Disclaimer this might as well not be a msgraph-sdk-python issue but generally wrongly defined in the msgraph-sdk. I'm reporting it here because I only checked here.

Ngôn ngữ chính
Python
Star
630
Fork
96
Merge trung bình
15 giờ 20 phút
Pull request đã merge (30 ngày)
3

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 microsoftgraph/msgraph-sdk-python

Tất cả issue của microsoftgraph/msgraph-sdk-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.