@@ -78,7 +78,7 @@ async def list_subscriptions(
7878 start_time : Optional [str ] = None ,
7979 sort_by : Optional [str ] = None ,
8080 updated : Optional [str ] = None ,
81- page_size : Optional [ int ] = None ) -> AsyncIterator [dict ]:
81+ page_size : int = 500 ) -> AsyncIterator [dict ]:
8282 """Iterate over list of account subscriptions with optional filtering.
8383
8484 Note:
@@ -113,7 +113,7 @@ async def list_subscriptions(
113113 updated (str): filter by updated time or interval.
114114 limit (int): limit the number of subscriptions in the
115115 results. When set to 0, no maximum is applied.
116- page_size (int): number of subscriptions to return per page, default 20 .
116+ page_size (int): number of subscriptions to return per page.
117117 TODO: user_id
118118
119119 Datetime args (created, end_time, start_time, updated) can either be a
@@ -158,8 +158,8 @@ class _SubscriptionsPager(Paged):
158158 params ['sort_by' ] = sort_by
159159 if updated is not None :
160160 params ['updated' ] = updated
161- if page_size is not None :
162- params ['page_size' ] = page_size
161+
162+ params ['page_size' ] = page_size
163163
164164 try :
165165 response = await self ._session .request (method = 'GET' ,
0 commit comments