Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Increase landsat items default limit (#123)
Browse files Browse the repository at this point in the history
Norbiros committed Oct 12, 2024
1 parent eed30f2 commit 6572e09
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/routers/landsat_api_router.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ async def get_landsat_by_search(
start_date: datetime,
end_date: datetime,
max_cloud_cover: CloudCoverageRatio = 0.2,
max_items: int = 5,
max_items: int = 15,
limit: int = 5,
) -> List[LandsatItem]:
landsat_api = LandsatAPIBySearch(
4 changes: 2 additions & 2 deletions backend/schemas/landsat/landsat_api_by_search.py
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@


class LandsatAPIBySearch(LandsatAPI):
max_items: int = 5
limit: int = 5
max_items: int = 25
limit: int = 25
coordinates: Coordinates
start_date: datetime
end_date: datetime

0 comments on commit 6572e09

Please sign in to comment.