Skip to content

Commit 333d168

Browse files
committed
clean up post collection
1 parent a21b840 commit 333d168

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/msgraph_core/requests/batch_request_builder.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import TypeVar, Dict, Optional, Union, List
1+
from typing import TypeVar, Dict, Optional, Union
22
import json
33
import logging
44

@@ -70,8 +70,7 @@ async def post(
7070
batch_responses = await self.post_batch_collection(batch_request_content, error_map)
7171
return batch_responses
7272

73-
else:
74-
raise ValueError("Invalid type for batch_request_content.")
73+
raise ValueError("Invalid type for batch_request_content.")
7574

7675
async def post_batch_collection(
7776
self,

0 commit comments

Comments
 (0)