microsoftgraph / microsoftgraph/msgraph-sdk-python
Wrongly defined `delta` on messages
Chưa có ai nhận issue này.
- 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
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
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.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100