Wrongly defined `delta` on messages

オープン
#1,087 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

140行目付近にある users/item/messages/messages_request_builder.py の定義から始め、Microsoft Graph の message リソースのドキュメントと比較します。messages delta request がどのように公開されているかを確認し、サポートされていない API の動作を確認します。invalid messages-level delta operation が定義されなくなるか、または文書化されている per-mailfolder のサポートに別の形で整合すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
630
フォーク
96
平均マージ
15時間 20分
マージ済み PR(30日)
3

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoftgraph/msgraph-sdk-python のほかの issue

microsoftgraph/msgraph-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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