diff --git a/demo/graphtutorial/graph.py b/demo/graphtutorial/graph.py index 4449be3..1630ac1 100644 --- a/demo/graphtutorial/graph.py +++ b/demo/graphtutorial/graph.py @@ -48,7 +48,9 @@ def get_inbox(self): # Only request specific properties select = 'from,isRead,receivedDateTime,subject' # Get at most 25 results - top = 25 + # top = 25 + top = random.randint(5,25) + print("get{}results".format(top)) # Sort by received time, newest first order_by = 'receivedDateTime DESC' request_url = f'{endpoint}?$select={select}&$top={top}&$orderBy={order_by}'