Commit b0e0d18f by Oleksandr Barabash

pagination changed to 20 per page

parent 9084ba01
...@@ -143,7 +143,7 @@ class CosmosClient: ...@@ -143,7 +143,7 @@ class CosmosClient:
{"name": "@notification_id", "value": notification_id}, {"name": "@notification_id", "value": notification_id},
], ],
partition_key=notification_id, partition_key=notification_id,
max_item_count=1 max_item_count=20
) )
pager = (query_iterable.by_page(token) if token else pager = (query_iterable.by_page(token) if token else
query_iterable.by_page()) query_iterable.by_page())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment