From 493f6e96c452f9f6e9666891e6b44149f42edb5c Mon Sep 17 00:00:00 2001 From: shemogumbe Date: Wed, 2 Oct 2024 17:17:41 +0300 Subject: [PATCH] remove defered import for BatchRequestBuilder --- msgraph/graph_service_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msgraph/graph_service_client.py b/msgraph/graph_service_client.py index e948e16d76..2451342423 100644 --- a/msgraph/graph_service_client.py +++ b/msgraph/graph_service_client.py @@ -15,6 +15,7 @@ if TYPE_CHECKING: from .generated.users.item.user_item_request_builder import UserItemRequestBuilder + from msgraph_core.requests.batch_request_builder import BatchRequestBuilder class GraphServiceClient(BaseGraphServiceClient): @@ -63,7 +64,7 @@ def me(self) -> UserItemRequestBuilder: return UserItemRequestBuilder(self.request_adapter, url_tpl_parameters) @property - def batch(self) -> 'BatchRequestBuilder': + def batch(self) -> BatchRequestBuilder: """ Returns a BatchRequestBuilder to enable batch requests. """