microsoftgraph / microsoftgraph/msgraph-sdk-python
Wrongly defined `delta` on messages
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 630
- Fork
- 96
- Merge medio
- 15h 20m
- PR unite (30g)
- 3
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con la definizione in users/item/messages/messages_request_builder.py intorno alla riga 140 e confrontala con la documentazione di Microsoft Graph sulla risorsa message. Verifica come viene esposta la messages delta request e conferma il comportamento dell’API non supportato; il lavoro è completato quando l’invalid messages-level delta operation non è più definita oppure è altrimenti allineata al supporto documentato per cartella di posta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100