|
Hey there! We are currently using version 1.2.0 to list groups. As stated in the docs there should be a Example from docsfrom msgraph import GraphServiceClient
from msgraph.generated.groups.groups_request_builder import GroupsRequestBuilder
graph_client = GraphServiceClient(credentials, scopes)
query_params = GroupsRequestBuilder.GroupsRequestBuilderGetQueryParameters(
count = True,
filter = "hasMembersWithLicenseErrors eq true",
select = ["id","displayName"],
)
# How to set headers in v1.3.0?
request_configuration = GroupsRequestBuilder.GroupsRequestBuilderGetRequestConfiguration(
query_parameters = query_params,
)
request_configuration.headers.add("ConsistencyLevel", "eventual")
result = await graph_client.groups.get(request_configuration = request_configuration)Our issueHow can we set headers now in v1.3.0? |
Answered by
MarcBuch
Apr 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah well, see #673