Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andrueastman opened this issue May 27, 2024 · 1 comment
Labels
area: snippets-generation Describes a required fix to the snippet generator

Comments

@andrueastman
Copy link
Member

Related to microsoftgraph/msgraph-sdk-python#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 andrueastman added the area: snippets-generation Describes a required fix to the snippet generator label May 27, 2024
@andrueastman
Copy link
Member Author

This should also be reflected in the following languages

  • GO
  • PHP
  • Powershell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: snippets-generation Describes a required fix to the snippet generator
Projects
None yet
Development

No branches or pull requests

1 participant