Skip to content

Commit

Permalink
feat: Increase landsat items default limit (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbiros committed Oct 12, 2024
1 parent aec4393 commit 1d3f612
Show file tree
Hide file tree
Showing 3 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
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion backend/schemas/landsat/landsat_api_by_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class LandsatAPIBySearch(LandsatAPI):
max_items: int = 5
max_items: int = 15
limit: int = 5
coordinates: Coordinates
start_date: datetime
Expand Down
Loading

0 comments on commit 1d3f612

Please sign in to comment.