Skip to content

Commit bb80c92

Browse files
committed
Fix default value
1 parent 9626f09 commit bb80c92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/cadip/rs_server_cadip/api/cadip_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def process_session_search( # type: ignore # pylint: disable=too-many-arguments
474474
sortby: str,
475475
limit: Annotated[
476476
Union[int, None],
477-
Query(gt=0, default=1000, description="Pagination Limit"),
477+
Query(gt=0, default=100, description="Pagination Limit"),
478478
],
479479
page: Union[int, None] = 1,
480480
) -> stac_pydantic.ItemCollection:
@@ -487,7 +487,7 @@ def process_session_search( # type: ignore # pylint: disable=too-many-arguments
487487
request (Request): The request object (unused).
488488
station (str): CADIP station identifier (e.g., MTI, SGS, MPU, INU).
489489
queryables: Lists of queryables applicable to search op.
490-
limit (int, optional): Maximum number of products to return. Beetween 0 and 10000, defaults to 1000.
490+
limit (int, optional): Maximum number of products to return. Greater than 0, defaults to 100.
491491
sortby (str): Sort by +/-fieldName (ascending/descending).
492492
page (int): Page number to be displayed, defaults to first one.
493493
Returns:

0 commit comments

Comments
 (0)