Skip to content

Commit

Permalink
Merge pull request #892 from torzsmokus/torzsmokus-patch-1
Browse files Browse the repository at this point in the history
fix type hint
  • Loading branch information
vgrem authored Sep 11, 2024
2 parents 4ec81b6 + 6bf4c31 commit 9309b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions office365/runtime/client_object_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def top(self, value):
return self

def paged(self, page_size=None, page_loaded=None):
# type: (int, Callable[[Self], None]) -> Self
# type: (int, Callable[[Self], None] | None) -> Self
"""Retrieves via server-driven paging mode"""
self._paged_mode = True
if callable(page_loaded):
Expand All @@ -158,7 +158,7 @@ def _loaded(col):
return self

def get_all(self, page_size=None, page_loaded=None):
# type: (int, Callable[[Self], None]) -> Self
# type: (int, Callable[[Self], None] | None) -> Self
"""Gets all the items in a collection, regardless of the size."""

def _page_loaded(col):
Expand Down

0 comments on commit 9309b92

Please sign in to comment.