Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

Simplify passenger_info default in SearchFilters

Punit Arani811ed2ed8aff
diff --git a/fli/search.py b/fli/search.py
index 823c5e9..4b90c41 100644
--- a/fli/search.py
+++ b/fli/search.py
@@ -25,9 +25,7 @@ class SearchFilters(BaseModel):
departure_airport: Airport
arrival_airport: Airport
departure_date: str
- passenger_info: PassengerInfo = PassengerInfo(
- adults=1, children=0, infants_in_seat=0, infants_on_lap=0
- )
+ passenger_info: PassengerInfo = PassengerInfo(adults=1)
seat_type: SeatType = SeatType.ECONOMY
stops: MaxStops = MaxStops.ANY
sort_by: SortBy = SortBy.CHEAPEST