Skip to content

Commit 37ceeae

Browse files
committed
add type annotations
1 parent 13687c3 commit 37ceeae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/msgraph_core/requests/batch_response_content.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self) -> None:
2323
self._responses: Optional[Dict[str, 'BatchResponseItem']] = {}
2424

2525
@property
26-
def responses(self) -> Optional[List['BatchResponseItem']]:
26+
def responses(self) -> Optional[Dict[str, 'BatchResponseItem']]:
2727
"""
2828
Get the responses in the collection
2929
:return: A dictionary of response IDs and their BatchResponseItem objects
@@ -32,7 +32,7 @@ def responses(self) -> Optional[List['BatchResponseItem']]:
3232
return self._responses
3333

3434
@responses.setter
35-
def responses(self, responses: Optional[List['BatchResponseItem']]) -> None:
35+
def responses(self, responses: Optional[Dict[str, 'BatchResponseItem']]) -> None:
3636
"""
3737
Set the responses in the collection
3838
:param responses: The responses to set in the collection

0 commit comments

Comments
 (0)