Skip to content

Commit 48e413f

Browse files
committed
return a headers collection object in set_headers
1 parent 8e3d5f3 commit 48e413f

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
@@ -85,7 +85,7 @@ def __init__(
8585
self.current_page = page
8686
self.has_next = bool(page.odata_next_link)
8787

88-
def set_headers(self, headers: dict) -> None:
88+
def set_headers(self, headers: dict) -> HeadersCollection:
8989
"""
9090
Sets the headers for the HTTP requests.
9191
This method takes a dictionary of headers and adds them to the

0 commit comments

Comments
 (0)