microsoftgraph / microsoft-graph-devx-api

Services API for Graph Explorer
MIT License
88 stars 31 forks source link

[Python] HTTP examples with `$deltaToken` and `$skiptoken` should generate snippets using the `with_url method` #2068

Open andrueastman opened 4 months ago

andrueastman commented 4 months ago

Related to https://github.com/microsoftgraph/msgraph-sdk-python/issues/242

Paging should use the entire nextlink as it is opaque and thus the sdk does not contain the deltaToken or skipToken parameters. Therefore, the example at https://learn.microsoft.com/en-us/graph/delta-query-users?tabs=python#nextlink-request should look like somethin close to this.

result = await graph_client.users.delta.with.url('https://graph.microsoft.com/v1.0/users/delta?$skiptoken=oEBwdSP6uehIAxQOWq_3Ksh_TLol6KIm3stvdc6hGhZRi1hQ7Spe__dpvm3U4zReE4CYXC2zOtaKdi7KHlUtC2CbRiBIUwOxPKLa').get(request_configuration = request_configuration)
andrueastman commented 4 months ago

This should also be reflected in the following languages