Skip to content

Commit e1d6313

Browse files
committed
added type hint in next method
1 parent 5165ecd commit e1d6313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msgraph_core/tasks/page_iterator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def iterate(self, callback: Callable) -> None:
132132
self.current_page = next_page
133133
self.pause_index = 0
134134

135-
async def next(self) -> Optional[PageResult]:
135+
async def next(self, response: PageResult) -> Optional[PageResult]:
136136
"""
137137
Fetches the next page of items.
138138
Returns:

0 commit comments

Comments
 (0)