From 0289e2f6c4aa185d9baa369fe995a7307b90d9b1 Mon Sep 17 00:00:00 2001 From: Musale Martin Date: Mon, 18 Nov 2024 14:53:53 +0300 Subject: [PATCH] Fix failing formatting --- src/msgraph_core/requests/batch_request_builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msgraph_core/requests/batch_request_builder.py b/src/msgraph_core/requests/batch_request_builder.py index 57c0e465..0c238b8d 100644 --- a/src/msgraph_core/requests/batch_request_builder.py +++ b/src/msgraph_core/requests/batch_request_builder.py @@ -105,8 +105,8 @@ async def _post_batch_collection( raise ValueError("batch_request_content_collection cannot be Null.") batch_responses = BatchResponseContentCollection() - - for batch_request_content in batch_request_content_collection.get_batch_requests_for_execution(): + batch_requests = batch_request_content_collection.get_batch_requests_for_execution() + for batch_request_content in batch_requests: response = await self.post(batch_request_content, error_map) batch_responses.add_response(response)