msgraph-sdk-python-core
msgraph-sdk-python-core copied to clipboard
Batch support
https://microsoftgraph.github.io/msgraph-sdk-design/content/BatchRequestContent.html
We should also be able to support batching collection like on the .NET SDK.
this is critical; functionality like was implemented for other languages; https://learn.microsoft.com/en-us/graph/sdks/batch-requests?tabs=csharp
currently running into AppAndTenantThresholds
msgraph.generated.models.o_data_errors.o_data_error.ODataError: APIError Code: 429 message: None error: MainError(additional_data={}, code='UnknownError', details=None, inner_error=InnerError(additional_data={}, client_request_id='b728708c-cafb-4e67-b7cc-ca58234fe772', date=DateTime(2024, 4, 24, 12, 5, 28, tzinfo=Timezone('UTC')), odata_type=None, request_id='1e2b80e0-4cfe-41c4-ba9a-ec87b13e12a4'), message='{"error":{"code":"GraphApiCsvThrottlePerAppAndTenantThresholdExceeded","message":"Please retry later"}}', target=None)
We agree. We'll get there, but right now our priorities won't be to cover this sceanrio. Though, to be fully transparent, batching, in a vast majority of cases will not improve your throttling limits. You'd need to rely on our retry handler that should be doing the job of backing off in a majority of the cases. If you can share the APIs that get you throttled, it would be great so we can understand better, Thanks!