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

Sharepoint List item Delta Request Builder Missing Token Parameter #1122

Open
Ryanaldo34 opened this issue Feb 20, 2025 · 1 comment
Open
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience

Comments

@Ryanaldo34
Copy link

Ryanaldo34 commented Feb 20, 2025

Describe the bug

I am trying to build a delta request as described here in the documentation : https://learn.microsoft.com/en-us/graph/api/listitem-delta?view=graph-rest-1.0&tabs=python

# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.sites.item.lists.item.items.delta.delta_request_builder import DeltaRequestBuilder
from kiota_abstractions.base_request_configuration import RequestConfiguration
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
query_params = DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters(
		token = "1230919asd190410jlka",
)

request_configuration = RequestConfiguration(
query_parameters = query_params,
)

result = await graph_client.sites.by_site_id('site-id').lists.by_list_id('list-id').items.delta.get(request_configuration = request_configuration)

but the data class DeltaRequestBuilderGetQueryParameters doesn't have a parameter for the token.

Expected behavior

The DeltaRequestBuilderGetQueryParameters class matches the documentation and I am able to send a token in the delta request.

How to reproduce

Follow the documentation with the code snippet.

SDK Version

1.21.0

Latest version known to work for scenario above?

I am not sure

Known Workarounds

No response

Debug output

Click to expand log ```

<No parameter named "token">

</details>


### Configuration

- OS: Every OS
Doesn't seem to be specific to any platform since its a class definition

### Other information

_No response_
@Ryanaldo34 Ryanaldo34 added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Feb 20, 2025
@Ryanaldo34
Copy link
Author

The token parameter also appears to be missing on the drive item delta dataclass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

1 participant