Skip to content

Sharepoint List item Delta Request Builder Missing Token Parameter #1122

@Ryanaldo34

Description

@Ryanaldo34

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_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions