@@ -221,11 +221,11 @@ def list_devices(
221221
222222 Get the list of devices.
223223
224- :param page_size: Size for a given page. The maximum allowed value is 100 .
224+ :param page_size: Size for a given page. The maximum allowed value is 500. Defaults to 50 .
225225 :type page_size: int, optional
226- :param page_number: Specific page number to return.
226+ :param page_number: Specific page number to return. Defaults to 0.
227227 :type page_number: int, optional
228- :param sort: The field to sort the devices by.
228+ :param sort: The field to sort the devices by. Defaults to ``name``.
229229 :type sort: str, optional
230230 :param filter_tag: Filter devices by tag.
231231 :type filter_tag: str, optional
@@ -258,11 +258,11 @@ def list_devices_with_pagination(
258258
259259 Provide a paginated version of :meth:`list_devices`, returning all items.
260260
261- :param page_size: Size for a given page. The maximum allowed value is 100 .
261+ :param page_size: Size for a given page. The maximum allowed value is 500. Defaults to 50 .
262262 :type page_size: int, optional
263- :param page_number: Specific page number to return.
263+ :param page_number: Specific page number to return. Defaults to 0.
264264 :type page_number: int, optional
265- :param sort: The field to sort the devices by.
265+ :param sort: The field to sort the devices by. Defaults to ``name``.
266266 :type sort: str, optional
267267 :param filter_tag: Filter devices by tag.
268268 :type filter_tag: str, optional
@@ -283,7 +283,7 @@ def list_devices_with_pagination(
283283 if filter_tag is not unset :
284284 kwargs ["filter_tag" ] = filter_tag
285285
286- local_page_size = get_attribute_from_path (kwargs , "page_size" , 10 )
286+ local_page_size = get_attribute_from_path (kwargs , "page_size" , 50 )
287287 endpoint = self ._list_devices_endpoint
288288 set_attribute_from_path (kwargs , "page_size" , local_page_size , endpoint .params_map )
289289 pagination = {
0 commit comments